diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2002-12-03 20:05:11 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2002-12-03 20:05:11 +0000 |
commit | 98c96abcaea0d78f3f5387712e2bda67af058168 (patch) | |
tree | 0a3d28a9ebdc1b07d2da51d1d7999c0d5ac42514 /sbin/isakmpd/udp.h | |
parent | 08c8c7ec6504b9635c24c726d30ffcd02e28204e (diff) |
Add -4/-6 cmdline options to select what address family (IPv4,v6) to use.
niklas@ ok.
Diffstat (limited to 'sbin/isakmpd/udp.h')
-rw-r--r-- | sbin/isakmpd/udp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/isakmpd/udp.h b/sbin/isakmpd/udp.h index 0d479d7399d..faa295c2368 100644 --- a/sbin/isakmpd/udp.h +++ b/sbin/isakmpd/udp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: udp.h,v 1.5 2001/06/29 19:41:43 ho Exp $ */ +/* $OpenBSD: udp.h,v 1.6 2002/12/03 20:05:10 ho Exp $ */ /* $EOM: udp.h,v 1.4 1998/12/22 02:23:43 niklas Exp $ */ /* @@ -39,6 +39,10 @@ extern char *udp_default_port; extern char *udp_bind_port; +extern int bind_family; + +#define BIND_FAMILY_INET4 0x0001 +#define BIND_FAMILY_INET6 0x0002 #if 0 extern in_port_t udp_decode_port (char *); |