if_de misses name

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Fri Mar 12 06:44:44 PST 2004


I just noticed that if_de attaches an iface without name:

# ifconfig
: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:03:ff:f1:7a:7a
        media: Ethernet autoselect (10baseT/UTP)
        status: active
# ifconfig de0 inet 10.1.2.3
ifconfig: interface de0 does not exist
# ifconfig '' inet 10.1.2.3
#
well, hm :)

joerg kindly provided a simple patch, see slightly modified version 
attached

cheers
  simon
ps: BTW, don't we have iface renaming now? Do userland tools exist for 
that purpose?

--
/"\   hAttachment:
if_de.patch
Description: Binary data
ttp://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Attachment:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00006.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20040312/4d15394e/attachment-0016.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00009.bin
Type: application/octet-stream
Size: 565 bytes
Desc: "PGP.sig"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20040312/4d15394e/attachment-0016.bin>


More information about the Submit mailing list