projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5279914
)
network: set_put() here does not returns -EEXIST
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sat, 18 May 2019 03:46:02 +0000
(12:46 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sat, 18 May 2019 03:46:02 +0000
(12:46 +0900)
src/network/networkd-network.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-network.c
b/src/network/networkd-network.c
index fcfb6d2e17f881141367666b7148700d981873d4..ac8c08456b8a5815dcdfd307bd6407f9512e129f 100644
(file)
--- a/
src/network/networkd-network.c
+++ b/
src/network/networkd-network.c
@@
-1658,11
+1658,6
@@
int config_parse_dhcp_black_listed_ip_address(
return log_oom();
r = set_put(network->dhcp_black_listed_ip, UINT32_TO_PTR(ip.in.s_addr));
- if (r == -EEXIST) {
- log_syntax(unit, LOG_WARNING, filename, line, r,
- "DHCP black listed ip address is duplicated, ignoring assignment: %s", n);
- continue;
- }
if (r < 0)
log_syntax(unit, LOG_ERR, filename, line, r,
"Failed to store DHCP black listed ip address '%s', ignoring assignment: %m", n);