[6195] in Athena Bugs

home help back first fref pref prev next nref lref last post

RT 7.1: ifconfig chokes on hex input

daemon@ATHENA.MIT.EDU (Jerome H Saltzer)
Wed Oct 10 10:57:09 1990

Date: Wed, 10 Oct 90 10:56:49 EDT
From: Jerome H Saltzer <Saltzer@mit.edu>
To: bugs@ATHENA.MIT.EDU, jis@mit.edu, hoffmann@mit.edu, jon@mit.edu


The version of ifconfig that comes with the 7.1 RT system reports
an input representation error when handed a netmask argument in hex
form, as in:

/etc/ifconfig un0 inet 18.26.0.35 netmask 0xffff0000 -trailers

This affects old rc's, which use that form.

tytso and I figured out a workaround: replace "0xffff0000" with
"255.255.0.0".

This bug may not have been noticed in standard checkout of 7.1 because
most use of ifconfig has been replaced with netconfig.  Since I am
located on a net in the boondocks where netconfig doesn't work, I have
to use ifconfig.

					Jerry

home help back first fref pref prev next nref lref last post