summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.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/main.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/main.c')
-rw-r--r--usr.sbin/ppp/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index d1f74b6..e692a40 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: main.c,v 1.23 1996/12/03 21:38:48 nate Exp $
+ * $Id: main.c,v 1.24 1996/12/12 14:39:45 jkh Exp $
*
* TODO:
* o Add commands for traffic summary, version display, etc.
@@ -881,8 +881,8 @@ DoLoop()
pri = PacketCheck(rbuff, n, FL_DIAL);
if (pri >= 0) {
if (mode & MODE_ALIAS) {
- PacketAliasOut(rbuff);
- n = ntohs(((struct ip *) rbuff)->ip_len);
+ PacketAliasOut((struct ip *)rbuff);
+ n = ntohs(((struct ip *)rbuff)->ip_len);
}
IpEnqueue(pri, rbuff, n);
dial_up = TRUE; /* XXX */
@@ -892,8 +892,8 @@ DoLoop()
pri = PacketCheck(rbuff, n, FL_OUT);
if (pri >= 0) {
if (mode & MODE_ALIAS) {
- PacketAliasOut(rbuff);
- n = ntohs(((struct ip *) rbuff)->ip_len);
+ PacketAliasOut((struct ip *)rbuff);
+ n = ntohs(((struct ip *)rbuff)->ip_len);
}
IpEnqueue(pri, rbuff, n);
}
OpenPOWER on IntegriCloud