diff options
author | brooks <brooks@FreeBSD.org> | 2008-03-30 02:42:39 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2008-03-30 02:42:39 +0000 |
commit | 59722cbdc947c8f9ff1c315e66664b47f105d5d0 (patch) | |
tree | fa0588cbdb302ac140dfca856cbea44a620fdc20 /include/elf-hints.h | |
parent | 3847b38de2eb8d014cd365c681e58bd563b90819 (diff) | |
download | FreeBSD-src-59722cbdc947c8f9ff1c315e66664b47f105d5d0.zip FreeBSD-src-59722cbdc947c8f9ff1c315e66664b47f105d5d0.tar.gz |
Add a new function is_default_interface() which determines if this
interface is one with the default route (or there isn't one). Use it to
decide if we should adjust the default route and /etc/resolv.conf.
Fix the delete of the default route. The if statement was totally bogus
and the delete only worked due to a typo. [1]
Reported by: Jordan Coleman <jordan at JordanColeman dot com> [1]
MFC after: 1 week
Diffstat (limited to 'include/elf-hints.h')
0 files changed, 0 insertions, 0 deletions