summaryrefslogtreecommitdiffstats
path: root/isys/isys.c
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-02-08 18:38:36 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-02-08 18:38:36 -1000
commite0e631492e43a1e3a2a0c4fbb8b31fa7a239f869 (patch)
treec5a40a49fa1907327d0e99888e7624989dab0c1a /isys/isys.c
parent0b703896e838fcb9ac09b9ebaab7b432c01e65ff (diff)
downloadanaconda-e0e631492e43a1e3a2a0c4fbb8b31fa7a239f869.tar.gz
anaconda-e0e631492e43a1e3a2a0c4fbb8b31fa7a239f869.tar.xz
anaconda-e0e631492e43a1e3a2a0c4fbb8b31fa7a239f869.zip
Rename nl.c to iface.c and functions to iface_*
Rename the interface control functions to start with iface_ rather than nl_. The libnl API uses nl_ and it gets confusing if we use that here too.
Diffstat (limited to 'isys/isys.c')
-rw-r--r--isys/isys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/isys/isys.c b/isys/isys.c
index ba1ddb62f..dcfa428ff 100644
--- a/isys/isys.c
+++ b/isys/isys.c
@@ -70,7 +70,7 @@
#include <blkid/blkid.h>
-#include "nl.h"
+#include "iface.h"
#include "imount.h"
#include "isys.h"
#include "net.h"
@@ -1041,7 +1041,7 @@ static PyObject * doGetMacAddress(PyObject * s, PyObject * args) {
if (!PyArg_ParseTuple(args, "s", &dev))
return NULL;
- ret = nl_mac2str(dev);
+ ret = iface_mac2str(dev);
return Py_BuildValue("s", ret);
}
@@ -1065,7 +1065,7 @@ static PyObject * doGetIPAddress(PyObject * s, PyObject * args) {
if (!PyArg_ParseTuple(args, "s", &dev))
return NULL;
- ret = nl_ip2str(dev);
+ ret = iface_ip2str(dev);
return Py_BuildValue("s", ret);
}