diff options
-rw-r--r-- | sys/netinet6/ip6_forward.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c index db0094c..0ce591f 100644 --- a/sys/netinet6/ip6_forward.c +++ b/sys/netinet6/ip6_forward.c @@ -350,12 +350,9 @@ ip6_forward(struct mbuf *m, int srcrt) if (dst != NULL && rt != NULL) ipsecrt = 1; } - skip_ipsec: -#endif /* IPSEC */ - -#ifdef IPSEC if (ipsecrt) goto skip_routing; +skip_ipsec: #endif dst = (struct sockaddr_in6 *)&V_ip6_forward_rt.ro_dst; |