Thread (1 message) 1 message, 1 author, 2015-09-23

Re: [PATCH iproute2] route: filter routes by family if it's specified

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2015-09-23 23:16:40

On Wed, 23 Sep 2015 11:43:46 +0000
Andrey Vagin [off-list ref] wrote:
From: Andrew Vagin <redacted>

Currently when we specify AF_INET6 when it is disabled, we will get
all routes.

For example, we can boot kernel with ipv6.disable=1 and try to get ipv6
routes:
$ ip -6 route show
default via 192.168.122.1 dev eth0  proto static  metric 100
192.168.122.0/24 dev eth0  proto kernel  scope link  src 192.168.122.141  metric 100

Here are ipv4 routes and this is unexpected behaviour.

Signed-off-by: Andrew Vagin <redacted>
Applied thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help