summaryrefslogtreecommitdiffstats
path: root/isys/getmacaddr.c
Commit message (Collapse)AuthorAgeFilesLines
* * isys/Makefile: Remove getmacaddr references. Add glib CFLAGS andDavid Cantrell2006-05-261-81/+0
| | | | | | | | | | | | | | | | | | | | | | LDFLAGS. * isys/getmacaddr.c: Removed. * isys/getmacaddr.h: Removed. * isys/isys.c: Call netlink_interfaces_mac2str() in doGetMacAddress. * isys/nl.c (netlink_format_mac_addr): Malloc space for buf if it's NULL when we enter the function. * isys/nl.c (netlink_interfaces_mac2str): Return buffer malloc is handled by netlink_format_mac_addr). * loader2/Makefile: Add glib CFLAGS and LDFLAGS. * loader2/net.c: Call netlink_format_mac_addr() and netlink_interfaces_mac2str(). * loader2/urlinstall.c: Call netlink_interfaces_mac2str() instead of getMacAddr().
* 2004-09-21 Jeremy Katz <katzj@redhat.com>Jeremy Katz2004-09-211-1/+24
| | | | | | | | | * loader2/net.c (chooseNetworkInterface): Support using ksdevice=macaddr instead of ksdevice=link or ksdevice=ethX. Should sanitize the mac address to handle most sane formats (#130605). * isys/getmacaddr.c (sanitizeMacAddr): Add function. * isys/getmacaddr.h (sanitizeMacAddr): Add prototype.
* routine to get mac addr of nicMike Fulbright2003-07-071-0/+58