summaryrefslogtreecommitdiffstats
path: root/contrib/gdtoa/g_ddfmt.c
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2008-03-30 02:42:39 +0000
committerbrooks <brooks@FreeBSD.org>2008-03-30 02:42:39 +0000
commit59722cbdc947c8f9ff1c315e66664b47f105d5d0 (patch)
treefa0588cbdb302ac140dfca856cbea44a620fdc20 /contrib/gdtoa/g_ddfmt.c
parent3847b38de2eb8d014cd365c681e58bd563b90819 (diff)
downloadFreeBSD-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 'contrib/gdtoa/g_ddfmt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud