Bug 59369 - Faked bootp record has misleading ESA
Faked bootp record has misleading ESA
Product: eCos
Classification: Retired
Component: TCPIP (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: eCos bugs internal list
eCos bugs internal list
Depends On:
  Show dependency treegraph
Reported: 2002-02-06 11:11 EST by Jonathan Larmour
Modified: 2007-04-18 12:39 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-02-06 11:11:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Larmour 2002-02-06 11:11:14 EST
Description of Problem:

In network_support.c: build_bootp_record() (used when using static addrs, NOT
bootp/dhcp) contains:

    for (i = 0;  i < bp->bp_hlen;  i++) {
        bp->bp_chaddr[i] = 0xFF;

which has confused people because it causes the displayed ESA address (displayed
by show_bootp) to be all Fs, which worries some people. Instead it should fetch
the real ESA using ioctl(s, SIOCGIFHWADDR, &ifr) like in

Note You need to log in before you can comment on or make changes to this bug.