]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ipmroute: better error message if no kernel mroute
authorStephen Hemminger <sthemmin@microsoft.com>
Fri, 9 Mar 2018 02:02:19 +0000 (18:02 -0800)
committerDavid Ahern <dsahern@gmail.com>
Mon, 12 Mar 2018 01:52:34 +0000 (18:52 -0700)
commite06e9a6bac6a8e16ee6580635f891bd2dfd1a1b6
tree755588fe9fa57d731dfd20c227e0c0c4c429dacd
parent0f1475c268271164eba92989b8418e26af021dae
ipmroute: better error message if no kernel mroute

If kernel does not support the IP multicast address family,
then it will report all routes (PF_UNSPEC).
Give the user a better error message and abort the command.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/ipmroute.c