diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-06-06 15:19:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-06-06 15:19:16 +0000 |
commit | ed75c2408fa83706f6c23b19ed2af7ac2b713b5d (patch) | |
tree | ed6b4b4c143697cdccb454fb3b5089ff500160c6 /sys/netinet | |
parent | e3127dd72c939815936b9554809eb1f5bf3b1230 (diff) |
Put mrouting enable flag inside the right ifdef. If you change files
here, make sure they compile with or without IPSEC, you morons!
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_output.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 697cc0231f0..e241fea438f 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_output.c,v 1.178 2006/05/29 20:42:27 claudio Exp $ */ +/* $OpenBSD: ip_output.c,v 1.179 2006/06/06 15:19:15 deraadt Exp $ */ /* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */ /* @@ -78,9 +78,12 @@ extern int ipsec_esp_trans_default_level; extern int ipsec_esp_network_default_level; extern int ipsec_ipcomp_default_level; extern int ipforwarding; -extern int ipmforwarding; #endif /* IPSEC */ +#ifdef MROUTING +extern int ipmforwarding; +#endif + static struct mbuf *ip_insertoptions(struct mbuf *, struct mbuf *, int *); static void ip_mloopback(struct ifnet *, struct mbuf *, struct sockaddr_in *); |