summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/os.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-01-19 02:59:34 +0000
committerbrian <brian@FreeBSD.org>1998-01-19 02:59:34 +0000
commita4acc2b6f976579bebc0c80d90760486a832f261 (patch)
tree477af83ef0de4914fc1dd987f702873c9eb2f7c4 /usr.sbin/ppp/os.c
parent3ef8b0b8d77df5d4f852819e42dab40f2665ce13 (diff)
downloadFreeBSD-src-a4acc2b6f976579bebc0c80d90760486a832f261.zip
FreeBSD-src-a4acc2b6f976579bebc0c80d90760486a832f261.tar.gz
Reimplement proxy-arp address stuff using sysctl().
Diffstat (limited to 'usr.sbin/ppp/os.c')
-rw-r--r--usr.sbin/ppp/os.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c
index 541aace..b2b268e 100644
--- a/usr.sbin/ppp/os.c
+++ b/usr.sbin/ppp/os.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: os.c,v 1.39 1998/01/08 23:47:55 brian Exp $
+ * $Id: os.c,v 1.40 1998/01/11 17:53:25 brian Exp $
*
*/
#include <sys/param.h>
@@ -82,7 +82,7 @@ SetIpDevice(struct in_addr myaddr,
}
if (how == SET_DOWN) {
if (Enabled(ConfProxy))
- cifproxyarp(s, oldhis.s_addr);
+ cifproxyarp(s, oldhis);
if (oldmine.s_addr == 0 && oldhis.s_addr == 0) {
close(s);
return (0);
@@ -161,7 +161,7 @@ SetIpDevice(struct in_addr myaddr,
oldhis.s_addr = hisaddr.s_addr;
oldmine.s_addr = myaddr.s_addr;
if (Enabled(ConfProxy))
- sifproxyarp(s, hisaddr.s_addr);
+ sifproxyarp(s, hisaddr);
}
close(s);
return (0);
OpenPOWER on IntegriCloud