summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/os.c
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1998-01-19 02:57:35 +0000
committerbrian <brian@cvs.openbsd.org>1998-01-19 02:57:35 +0000
commit2ab5dfd937b9829ffd2728d80184ab451d2ac4f5 (patch)
treeaa6031dc48edb734177442da780d1b058673375a /usr.sbin/ppp/os.c
parent29371b965e5e5c02822be1d1fa5e6761ddec17ab (diff)
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 0ef6732e38c..ad4eaed088d 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.6 1998/01/11 17:55:20 brian Exp $
+ * $Id: os.c,v 1.7 1998/01/19 02:57:33 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);