ipv4: Handle RTA_GATEWAY set to 0
Govindarajulu reported a regression with Network Manager which sends an RTA_GATEWAY attribute with the address set to 0. Fixup the handling of RTA_GATEWAY to only set fc_gw_family if the gateway address is actually set. Fixes: f35b794b ("ipv4: Prepare fib_config for IPv6 gateway") Reported-by:Govindarajulu Varadarajan <govind.varadar@gmail.com> Signed-off-by:
David Ahern <dsahern@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
44b9b6ca
Please register or sign in to comment