Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 03:04:01 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/route keywords route.8 route.c
Message-ID:  <200110021004.f92A41q66142@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ru          2001/10/02 03:04:01 PDT

  Modified files:        (Branch: RELENG_4)
    sbin/route           keywords route.8 route.c 
  Log:
  Mega-MFC.
  
  keywords: 1.5
  route.8: 1.23, 1.24, 1.25, 1.25
  route.c: 1.45, 1.46, 1.47, 1.51, 1.53
  
  - Exit 1 if "add", "change", or "delete" operation fails.
  
  PR:		bin/12489
  
  - Use inet_ntoa(3) where it should have been used.  This part of
    code simply wasn't converted to the "new" style after the
    routename() function was converted from the protocol-generic
    version to protocol-specific version in CSRG revision 5.6.
  
  - Change the host/bits syntax introduced in route.c,v 1.24 to the
    net/bits syntax, for consistency with netstat(1).
  
  - When changing an indirect route, kernel routing code allocates
    a route to the gateway and caches it in the route structure.
    It may happen (if the routing table is screwed) that the gateway
    route is the same route as the one being modified, in which case
    a kernel reports EDQUOT.  Be more verbose about this.
  
  PR:		bin/1093, misc/26833
  
  - Allow route(8) to create "proxy only" published ARP entries.
  
  PR:		bin/12357, bin/30904
  
  - 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.4.2.1   +2 -1      src/sbin/route/keywords
  1.17.2.7  +29 -12    src/sbin/route/route.8
  1.40.2.5  +30 -20    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?200110021004.f92A41q66142>