]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: make neighbor_hash_func() handle the same data as neighbor_compare_func()
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 17 Sep 2019 17:13:09 +0000 (19:13 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 17 Sep 2019 17:13:09 +0000 (19:13 +0200)
commita811fb8b377268566704514e2b05d1b9cb98e5ac
tree1cab778881a740a73bf0d91fc1a3b98e6321b650
parent67e05dd8cd01a284e5766e6f64487ddcc60553f9
networkd: make neighbor_hash_func() handle the same data as neighbor_compare_func()

In practice this probably makes little difference, because we only use AF_INET
and AF_INET6, but it's cleaner to use the same logic in both places.
src/network/networkd-neighbor.c