Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sbin/ifconfig

Module Name:    src
Committed By:   dyoung
Date:           Mon May 19 18:00:31 UTC 2008

Modified Files:
        src/sbin/ifconfig: agr.c ieee80211.c ifconfig.c parse.c parse.h

Log Message:
Fix two bugs:

1 Let us associate a keyword with either a signed or an unsigned
  number.  Associate the '-chan' keyword with an unsigned number.
  This fixes the defect that crashed 'ifconfig wi0 -chan', reported
  by Michael van Elst.

2 Do not try to interpret names as ISO addresses unless the ISO
  address family was specified.  iso_addr(3) does not report errors,
  so it appears to interpret *everything* as an ISO address.  This
  is a stopgap fix for the defect in 'ifconfig lo0 inet6' on a
  !INET6 kernel that deletes the first IPv4 address on lo0.
  (Reported by Scott Ellis.)

To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/sbin/ifconfig/agr.c
cvs rdiff -r1.18 -r1.19 src/sbin/ifconfig/ieee80211.c
cvs rdiff -r1.204 -r1.205 src/sbin/ifconfig/ifconfig.c
cvs rdiff -r1.7 -r1.8 src/sbin/ifconfig/parse.c
cvs rdiff -r1.3 -r1.4 src/sbin/ifconfig/parse.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index