summaryrefslogtreecommitdiffstats
path: root/isys/getmacaddr.h
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-09-21 21:00:57 +0000
committerJeremy Katz <katzj@redhat.com>2004-09-21 21:00:57 +0000
commitfbaa751ad5948032a1e62f2b0fa87fbde47a9f8f (patch)
treef31cb3ca73cc82912b5ac9fceb40b109cfde5fbc /isys/getmacaddr.h
parent19f4ffc4701a7f85d7b3c574c3ca8ebadf8bb1c5 (diff)
downloadanaconda-fbaa751ad5948032a1e62f2b0fa87fbde47a9f8f.tar.gz
anaconda-fbaa751ad5948032a1e62f2b0fa87fbde47a9f8f.tar.xz
anaconda-fbaa751ad5948032a1e62f2b0fa87fbde47a9f8f.zip
2004-09-21 Jeremy Katz <katzj@redhat.com>
* 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.
Diffstat (limited to 'isys/getmacaddr.h')
-rw-r--r--isys/getmacaddr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/isys/getmacaddr.h b/isys/getmacaddr.h
index 96a483abd..a4d374559 100644
--- a/isys/getmacaddr.h
+++ b/isys/getmacaddr.h
@@ -1,5 +1,6 @@
#ifndef __GET_MAC_ADDR_H__
#define __GET_MAC_ADDR_H__
char *getMacAddr(char *ifname);
+char *sanitizeMacAddr(char * hwaddr);
#endif