]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r287920:
authorrstone <rstone@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 Jan 2016 16:58:07 +0000 (16:58 +0000)
committerrstone <rstone@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 Jan 2016 16:58:07 +0000 (16:58 +0000)
commit20d26363edbd4cae7795b4e263f2297df07c4286
tree0299856e4a08fab14864de7ac81c65ffda7daed8
parent3d1c0e91c5c627b430243b9ec0d16e87aa863420
MFC r287920:

  Fix /sbin/route to never look up (invalid) interface names through DNS

  /sbin/route has a bug where if it is passed an interface name that does
  not exist, it falls through and winds up interpreting it as a hostname.
  It fails out eventually, but on a system where DNS lookup is broken you
  can end up waiting for up to 60 seconds waiting for the DNS lookup to
  timeout.  I'm not quite sure what happens if the DNS lookup somehow
  succeeds but I doubt that can end well.

  Reviewed by:  markj, cem
  MFC after:    2 weeks
  Sponsored by: EMC/Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/10@293208 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/route/route.c