diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-05 22:05:33 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-06 19:36:29 +0200 |
commit | 5a82104bf3f5df07f9e73cab5cf7647753371c52 (patch) | |
tree | 828306a02cf4df041778240b91539bfb58f61b7c /src | |
parent | network: drop unused element (diff) | |
download | systemd-5a82104bf3f5df07f9e73cab5cf7647753371c52.tar.xz systemd-5a82104bf3f5df07f9e73cab5cf7647753371c52.zip |
network: add missing "else"
Diffstat (limited to 'src')
-rw-r--r-- | src/network/networkd-routing-policy-rule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-routing-policy-rule.c b/src/network/networkd-routing-policy-rule.c index d2a8768a42..f35ab3e3db 100644 --- a/src/network/networkd-routing-policy-rule.c +++ b/src/network/networkd-routing-policy-rule.c @@ -1687,7 +1687,7 @@ int routing_policy_load_rules(const char *state_file, Set **rules) { continue; } rule->family = r; - } if (STR_IN_SET(a, "from", "to")) { + } else if (STR_IN_SET(a, "from", "to")) { union in_addr_union *buffer; uint8_t *prefixlen; |