Skip to content
Commit d73f80f9 authored by David Ahern's avatar David Ahern Committed by David S. Miller
Browse files

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: default avatarGovindarajulu Varadarajan <govind.varadar@gmail.com>
Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 44b9b6ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment