diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2010-10-14 15:15:22 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2010-10-14 15:15:22 +0000 |
commit | acf456a04a8a94ea9fe58f3d34ec142edc5dea4c (patch) | |
tree | 6e79764cae61e690514377dbdcb4f09c74eacbbd /sys/netipsec/ipsec_output.c | |
parent | e046b77ee16cf7a6b9479c4abe5d281376e41693 (diff) |
Notes
Diffstat (limited to 'sys/netipsec/ipsec_output.c')
-rw-r--r-- | sys/netipsec/ipsec_output.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netipsec/ipsec_output.c b/sys/netipsec/ipsec_output.c index 52c990ee9f4f..2701796f8c06 100644 --- a/sys/netipsec/ipsec_output.c +++ b/sys/netipsec/ipsec_output.c @@ -853,10 +853,8 @@ ipsec6_output_tunnel(struct ipsec_output_state *state, struct secpolicy *sp, int } /* adjust state->dst if tunnel endpoint is offlink */ - if (state->ro->ro_rt->rt_flags & RTF_GATEWAY) { + if (state->ro->ro_rt->rt_flags & RTF_GATEWAY) state->dst = (struct sockaddr *)state->ro->ro_rt->rt_gateway; - dst6 = (struct sockaddr_in6 *)state->dst; - } } m = ipsec6_splithdr(m); |