diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-03-19 14:04:44 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-03-19 14:04:44 +0000 |
commit | 0b9f96e56b22f3d0bd8f9fa95204ba7a9e49683f (patch) | |
tree | 305096d9429011aed372ea12a527d10602e2a847 /sbin/isakmpd/if.c | |
parent | 96c309c384e99b742c4307ece38772c4841ffad2 (diff) |
Add missing bits to make already present privsep code work. Enable privsep.
ok ho@ deraadt@ markus@
Diffstat (limited to 'sbin/isakmpd/if.c')
-rw-r--r-- | sbin/isakmpd/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/if.c b/sbin/isakmpd/if.c index 3794928f7c0..ab67ae42f01 100644 --- a/sbin/isakmpd/if.c +++ b/sbin/isakmpd/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.16 2003/11/06 16:12:07 ho Exp $ */ +/* $OpenBSD: if.c,v 1.17 2004/03/19 14:04:43 hshoexer Exp $ */ /* $EOM: if.c,v 1.12 1999/10/01 13:45:20 niklas Exp $ */ /* @@ -65,7 +65,7 @@ siocgifconf (struct ifconf *ifcp) caddr_t buf, new_buf; /* Get a socket to ask for the network interface configurations. */ - s = socket (AF_INET, SOCK_DGRAM, 0); + s = monitor_socket (AF_INET, SOCK_DGRAM, 0); if (s == -1) { log_error ("siocgifconf: socket (AF_INET, SOCK_DGRAM, 0) failed"); |