Remove dead code:
assignment to a local variable not used anywhere after that. MFC after: 3 days
This commit is contained in:
parent
e046b77ee1
commit
acf456a04a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213837
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user