diff options
author | kn <kn@cvs.openbsd.org> | 2018-09-06 14:46:37 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2018-09-06 14:46:37 +0000 |
commit | f5d4759e1e93811b5726e89786d109f80500255d (patch) | |
tree | 5836db30de5cca7a84f2aeab1ea22f34d42dc5ee /regress/gnu | |
parent | cbf3a29fb4db966cda8b36c809c189bd039c6087 (diff) |
Fill netmask AF-independently in print_host()
Instead of masking the host address in two different ways, just fill it
no matter the address family. In case of AF_INET, setting the extra 96 bit
does not hurt.
While here, stop resetting `af' for no reason and move up the variable
declaration.
OK benno sashan
Diffstat (limited to 'regress/gnu')
0 files changed, 0 insertions, 0 deletions