diff options
author | 2014-11-27 23:04:12 +0000 | |
---|---|---|
committer | 2014-11-27 23:04:12 +0000 | |
commit | 54e7c2609e4c0d0eeb8a7dcffe1343dd3c01ae9f (patch) | |
tree | a279e7229e76f98277187eb51c3ec7eb00c3fd20 /usr.bin/mandoc/mdoc.c | |
parent | Multiple fixes with respect to .Eo: (diff) | |
download | wireguard-openbsd-54e7c2609e4c0d0eeb8a7dcffe1343dd3c01ae9f.tar.xz wireguard-openbsd-54e7c2609e4c0d0eeb8a7dcffe1343dd3c01ae9f.zip |
Use if_nametoindex() to get the interface index, and thereby check
the validity of the interface name as soon the actual name is known.
i.e. right after 'egress' is expanded. One less thing for
get_hw_address() to do.
Diffstat (limited to 'usr.bin/mandoc/mdoc.c')
0 files changed, 0 insertions, 0 deletions