]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In order to support CARP interfaces kernel was taught to handle more
authorglebius <glebius@FreeBSD.org>
Thu, 18 Aug 2005 10:34:30 +0000 (10:34 +0000)
committerglebius <glebius@FreeBSD.org>
Thu, 18 Aug 2005 10:34:30 +0000 (10:34 +0000)
commitb2a592be598990a1f620d5338cf6ed992b5519a2
tree1659719a9de68b437e4117d9528ffa26752aa7b0
parente924b3caca5c4f97419dad34ceb4765763e111e3
In order to support CARP interfaces kernel was taught to handle more
than one interface in one subnet. However, some userland apps rely on
the believe that this configuration is impossible.

Add a sysctl switch net.inet.ip.same_prefix_carp_only. If the switch
is on, then kernel will refuse to add an additional interface to
already connected subnet unless the interface is CARP. Default
value is off.

PR: bin/82306
In collaboration with: mlaier
sys/netinet/in.c