git: mountd - Look up addresses before using getnetbyname()

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Wed Nov 26 12:23:17 PST 2014


commit 1ddefeb55d3988885745e4e0c5d432ce22a92f4d
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Wed Nov 26 18:55:50 2014 +0100

    mountd - Look up addresses before using getnetbyname()
    
    - Lookup '-network' and '-mask' addresses numerically before trying
      getnetbyname()
    - This avoids silly DNS queries.
    
    Taken from: FreeBSD SVN 75861

Summary of changes:
 sbin/mountd/mountd.c | 35 ++++++++++++++++++++---------------
 1 file changed, 20 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1ddefeb55d3988885745e4e0c5d432ce22a92f4d


-- 
DragonFly BSD source repository



More information about the Commits mailing list