projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a1bff
)
networkd: use assert_not_reached()
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 28 Sep 2017 06:38:50 +0000
(15:38 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 28 Sep 2017 06:38:50 +0000
(15:38 +0900)
src/network/networkd-manager.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-manager.c
b/src/network/networkd-manager.c
index
228efa1
..
1e82c87
100644
(file)
--- 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)