diff options
author | brian <brian@FreeBSD.org> | 2001-08-16 02:00:55 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-08-16 02:00:55 +0000 |
commit | 435f044654f35938fd5c9737d37e646786365f27 (patch) | |
tree | 190a2aa3d1e2606573f56d30776965f98d47535a /usr.sbin/ppp | |
parent | 63a42f31d018af8ee2b9e9e9125007af2b915337 (diff) | |
download | FreeBSD-src-435f044654f35938fd5c9737d37e646786365f27.zip FreeBSD-src-435f044654f35938fd5c9737d37e646786365f27.tar.gz |
Fix a couple of forgotten comments
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/ip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c index 4cdbda7..30b6cb6 100644 --- a/usr.sbin/ppp/ip.c +++ b/usr.sbin/ppp/ip.c @@ -204,8 +204,8 @@ FilterCheck(const unsigned char *packet, u_int32_t family, ncpaddr_setip6(&srcaddr, &pip6->ip6_src); ncpaddr_setip6(&dstaddr, &pip6->ip6_dst); - datalen = ntohs(pip6->ip6_plen); /* XXX: Wrong ? */ - payload = packet + sizeof *pip6; /* XXX: Wrong ? */ + datalen = ntohs(pip6->ip6_plen); + payload = packet + sizeof *pip6; cproto = pip6->ip6_nxt; } else #endif @@ -556,7 +556,7 @@ PacketCheck(struct bundle *bundle, u_int32_t family, datalen = ntohs(pip6->ip6_plen); payload = packet + sizeof *pip6; cproto = pip6->ip6_nxt; - tos = 0; /* XXX: ??? */ + tos = 0; /* XXX: pip6->ip6_vfc >> 4 ? */ frag = 0; /* XXX: ??? */ } else #endif |