diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-06 20:21:59 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-06 20:22:03 +0200 |
commit | 13ffa39f8ee30edae557875e710d136bdd6e1fca (patch) | |
tree | bbf982a61113b4da7b98481e9b426cec9eb808ee /src/network/tc | |
parent | network: fix masquerade setting logic (diff) | |
download | systemd-13ffa39f8ee30edae557875e710d136bdd6e1fca.tar.xz systemd-13ffa39f8ee30edae557875e710d136bdd6e1fca.zip |
network: rename network_verify_xxx() -> network_drop_invalid_xxx()
As 'verify' implies a boolean result.
Diffstat (limited to 'src/network/tc')
-rw-r--r-- | src/network/tc/tc.c | 2 | ||||
-rw-r--r-- | src/network/tc/tc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/tc/tc.c b/src/network/tc/tc.c index 2bb9c8f07f..974bb8c822 100644 --- a/src/network/tc/tc.c +++ b/src/network/tc/tc.c @@ -69,7 +69,7 @@ static int traffic_control_section_verify(TrafficControl *tc, bool *qdisc_has_ro } } -void network_verify_traffic_control(Network *network) { +void network_drop_invalid_traffic_control(Network *network) { bool has_root = false, has_clsact = false; TrafficControl *tc; diff --git a/src/network/tc/tc.h b/src/network/tc/tc.h index 7e277f6323..916ad3300a 100644 --- a/src/network/tc/tc.h +++ b/src/network/tc/tc.h @@ -29,4 +29,4 @@ typedef struct TrafficControl { void traffic_control_free(TrafficControl *tc); int link_configure_traffic_control(Link *link); -void network_verify_traffic_control(Network *network); +void network_drop_invalid_traffic_control(Network *network); |