net: don't declare IPv6 non-local bind helper if CONFIG_IPV6 undefined
authorVincent Bernat <vincent@bernat.im>
Wed, 1 Aug 2018 20:05:10 +0000 (22:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Aug 2018 20:45:31 +0000 (13:45 -0700)
commitdb57dc7c7a5c42bb653425a01b6d73c49514b5db
tree12a0b2f7e010cb9485667c966216612e44685418
parentb69ab96ab13ddaa28a506a2433ae5b12669615e8
net: don't declare IPv6 non-local bind helper if CONFIG_IPV6 undefined

Fixes: 83ba4645152d ("net: add helpers checking if socket can be bound to nonlocal address")
Signed-off-by: Vincent Bernat <vincent@bernat.im>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h