Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2001 09:11:16 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/route route.c
Message-ID:  <200107111611.f6BGBGC18188@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ru          2001/07/11 09:11:16 PDT

  Modified files:
    sbin/route           route.c 
  Log:
  Due to the documented bug in inet_aton(3), it wasn't possible
  to use 0xffffffff (INADDR_NONE) as a netmask value.  The fix
  is to use inet_addr(3) which doesn't suffer from this problem.
  
  PR:		bin/28873
  
  Also, while here, fixed the bug when netmask value was ignored
  (RTF_HOST flag was set) if the "destination gateway netmask"
  syntax is used, e.g. ``route add 1.2.3.4 127.1 255.255.255.255''.
  
  Revision  Changes    Path
  1.53      +4 -3      src/sbin/route/route.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107111611.f6BGBGC18188>