Source-Changes archive

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

CVS commit: src/dist/dhcp/common



Module Name:    src
Committed By:   gdt
Date:           Wed Oct 31 15:26:51 UTC 2007

Modified Files:
        src/dist/dhcp/common: discover.c

Log Message:
Change buffer for SIOCGIFCONF usage from 2048 to 32768.  Because the
code to retry on SIOCGIFCONF not returning all interfaces is broken,
this unreasonably large buffer should handle the case of a machine
with lots of (usually virtual) interfaces.  dhcpd 4 uses a different
method to get interface configuration, so this kludge should go away
on upgrade.

Fix based on understanding of the code, but has been compile-tested
only, to address failure report received from Michael Graff.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/dist/dhcp/common/discover.c

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