From owner-cvs-all Wed Jul 11 9:11:20 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5D49137B405; Wed, 11 Jul 2001 09:11:16 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: (from ru@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f6BGBGC18188; Wed, 11 Jul 2001 09:11:16 -0700 (PDT) (envelope-from ru) Message-Id: <200107111611.f6BGBGC18188@freefall.freebsd.org> From: Ruslan Ermilov Date: Wed, 11 Jul 2001 09:11:16 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/route route.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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