diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-09-28 08:38:50 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-09-28 08:38:50 +0200 |
commit | 74dead34618c74026d4912cd46a1d11e333e0d18 (patch) | |
tree | d190fe6d97f0f0fa49a6779006828cb09b776d37 /src/network/networkd-manager.c | |
parent | networkd: use IN_SET macro (diff) | |
download | systemd-74dead34618c74026d4912cd46a1d11e333e0d18.tar.xz systemd-74dead34618c74026d4912cd46a1d11e333e0d18.zip |
networkd: use assert_not_reached()
Diffstat (limited to '')
-rw-r--r-- | src/network/networkd-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index 228efa1ddd..1e82c87d36 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -413,7 +413,7 @@ int manager_rtnl_process_route(sd_netlink *rtnl, sd_netlink_message *message, vo break; default: - log_link_debug(link, "rtnl: ignoring unsupported address family: %d", family); + assert_not_reached("Received unsupported address family"); return 0; } @@ -801,7 +801,7 @@ int manager_rtnl_process_rule(sd_netlink *rtnl, sd_netlink_message *message, voi break; default: - assert_not_reached("Received unsupported rule family"); + assert_not_reached("Received unsupported address family"); } if (from_prefixlen == 0 && to_prefixlen == 0) |