Fix NOINET6 build after r357038.
Reported by: AN <andy at neu.net>
This commit is contained in:
parent
9677354790
commit
75831a1c95
@ -371,9 +371,11 @@ div_output(struct socket *so, struct mbuf *m, struct sockaddr_in *sin,
|
||||
case IPVERSION:
|
||||
family = AF_INET;
|
||||
break;
|
||||
#ifdef INET6
|
||||
case IPV6_VERSION >> 4:
|
||||
family = AF_INET6;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
m_freem(m);
|
||||
return (EAFNOSUPPORT);
|
||||
|
Loading…
Reference in New Issue
Block a user