summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ip.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-12-19 00:41:42 +0000
committernate <nate@FreeBSD.org>1996-12-19 00:41:42 +0000
commit8f656e55b30a41fd95b61f160168723596718403 (patch)
tree0fde75ad99b524bc792b1c59536f5cad56d4f290 /usr.sbin/ppp/ip.c
parent5647eb145d4d6ce08e76bf5b993b046ab6c1af37 (diff)
downloadFreeBSD-src-8f656e55b30a41fd95b61f160168723596718403.zip
FreeBSD-src-8f656e55b30a41fd95b61f160168723596718403.tar.gz
Fixed prototypes of PacketAliasIn/Out. (cosmetic)
Submitted by: Brian Somers <brian@awfulhak.demon.co.uk>
Diffstat (limited to 'usr.sbin/ppp/ip.c')
-rw-r--r--usr.sbin/ppp/ip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c
index 02290a5..a5abc73 100644
--- a/usr.sbin/ppp/ip.c
+++ b/usr.sbin/ppp/ip.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ip.c,v 1.10 1996/12/03 21:38:45 nate Exp $
+ * $Id: ip.c,v 1.11 1996/12/12 14:39:40 jkh Exp $
*
* TODO:
* o Return ICMP message for filterd packet
@@ -333,8 +333,8 @@ struct mbuf *bp; /* IN: Pointer to IP pakcet */
}
if (mode & MODE_ALIAS) {
- PacketAliasIn(tunbuff);
- nb = ntohs(((struct ip *) tunbuff)->ip_len);
+ PacketAliasIn((struct ip *)tunbuff);
+ nb = ntohs(((struct ip *)tunbuff)->ip_len);
}
if ( PacketCheck(tunbuff, nb, FL_IN ) < 0) {
OpenPOWER on IntegriCloud