Fix NOINET6 build broken by r356236.
MFC after: 2 weeks
This commit is contained in:
parent
c83dda362e
commit
d930203192
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356237
@ -841,9 +841,9 @@ route_output(struct mbuf *m, struct socket *so, ...)
|
||||
struct rt_msghdr *rtm = NULL;
|
||||
struct rtentry *rt = NULL;
|
||||
struct rt_addrinfo info;
|
||||
struct sockaddr_storage ss;
|
||||
struct epoch_tracker et;
|
||||
#ifdef INET6
|
||||
struct sockaddr_storage ss;
|
||||
struct sockaddr_in6 *sin6;
|
||||
int i, rti_need_deembed = 0;
|
||||
#endif
|
||||
@ -968,7 +968,9 @@ route_output(struct mbuf *m, struct socket *so, ...)
|
||||
* writing updated rtm in rtsock_msg_buffer().
|
||||
* With that in mind, skip deembedding procedure below.
|
||||
*/
|
||||
#ifdef INET6
|
||||
rti_need_deembed = 0;
|
||||
#endif
|
||||
RT_UNLOCK(rt);
|
||||
if (error != 0)
|
||||
senderr(error);
|
||||
|
Loading…
Reference in New Issue
Block a user