Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 16:27:16 +0400
From:      vova@express.ru
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ru@freebsd.org
Subject:   bin/28873: ivalid command-line argument parsing in /sbin/route
Message-ID:  <E15Jwbk-0004vm-00@vbook.express.ru>

next in thread | raw e-mail | index | archive | help

>Number:         28873
>Category:       bin
>Synopsis:       ivalid command-line argument parsing in /sbin/route in -netmask argument
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 10 05:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir B. Grebenschikov
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
TSB "Russian Express"
>Environment:

FreeBSD gw9a.express.ru 4.3-RELEASE FreeBSD 4.3-RELEASE #2: Mon May  7 19:18:57 MSD 2001     root@gw9a.express.ru:/usr/src/sys/compile/GW9A  i386

>Description:

	

>How-To-Repeat:

Same command in different forme have complitly different results:

# route add 1.1.1.1 127.0.0.1 -netmask 0xffffffff
route: bad address: 0xffffffff
# route add 1.1.1.1 127.0.0.1 -netmask 255.255.255.255
add net 1.1.1.1: gateway 127.0.0.1
#

>Fix:

not use hex-form for netmask
>Release-Note:
>Audit-Trail:
>Unformatted:

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E15Jwbk-0004vm-00>