diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-12-02 13:28:01 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-12-09 13:55:14 -0500 |
commit | 6e47dbbcb32ad9b391296ae47e540c3506431c8f (patch) | |
tree | 7cc5ac7f6b2012e74acafc0a9c045a3ac4279549 /src/network/networkd-lldp-tx.h | |
parent | 40a922d055075b921cca060658b5b22608a36c58 (diff) |
networkd: tighten parsing of Tunnel addresses
When assigning addresses, we'd set the family, and later
verify that the address on the other end has the same family.
But when the address was specified as "any", we'd simply unset
the family. Instead, only unset the family if both addresses
are wiped.
Also, don't bother setting family = AF_UNSPEC, since it's the default (0).
Diffstat (limited to 'src/network/networkd-lldp-tx.h')
0 files changed, 0 insertions, 0 deletions