diff options
author | Chris Lumens <clumens@redhat.com> | 2007-03-12 16:43:49 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-03-12 16:43:49 +0000 |
commit | 6ab95f77638d112992dd5734fa1b06ad60c7151f (patch) | |
tree | d7e938689a508a6dd7d762f1015c9cf27447c253 /isys | |
parent | 5b8e52aeede00864e75f97233791ec71a19c56c4 (diff) | |
download | anaconda-6ab95f77638d112992dd5734fa1b06ad60c7151f.tar.gz anaconda-6ab95f77638d112992dd5734fa1b06ad60c7151f.tar.xz anaconda-6ab95f77638d112992dd5734fa1b06ad60c7151f.zip |
Clear out cached netlink information so we display the Remote button on the
exception window.
Diffstat (limited to 'isys')
-rw-r--r-- | isys/isys.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/isys/isys.c b/isys/isys.c index 9b6549d3f..abba8e25d 100644 --- a/isys/isys.c +++ b/isys/isys.c @@ -1130,6 +1130,11 @@ static PyObject * doGetIPAddress(PyObject * s, PyObject * args) { if (!PyArg_ParseTuple(args, "s", &dev)) return NULL; + /* We might have a cached list of interfaces without IP address + * information, so clear it out here to reinit. + */ + netlink_interfaces_list_free(); + ret = netlink_interfaces_ip2str(dev); return Py_BuildValue("s", ret); |