K 10 svn:author V 2 ru K 8 svn:date V 27 2001-10-02T10:04:01.000000Z K 7 svn:log V 1382 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''. END