summaryrefslogtreecommitdiffstats
path: root/isys/iface.h
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-10-10 12:24:53 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-10-10 14:15:24 -1000
commitd8b0572b4f26ee5e07f8b02842022471c8ac8ed4 (patch)
tree20ff3b5c3ccfc435d5922bf9050602582f2b388d /isys/iface.h
parentbef06e4ef6ce7f2ce631dc91def688244be4c75a (diff)
downloadanaconda-d8b0572b4f26ee5e07f8b02842022471c8ac8ed4.tar.gz
anaconda-d8b0572b4f26ee5e07f8b02842022471c8ac8ed4.tar.xz
anaconda-d8b0572b4f26ee5e07f8b02842022471c8ac8ed4.zip
Get rid of some iface flags that were not doing anything anymore.
The ipv4method and ipv6method variables are in use now, remove flags that are not used anymore.
Diffstat (limited to 'isys/iface.h')
-rw-r--r--isys/iface.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/isys/iface.h b/isys/iface.h
index 8785db2b3..497feaa40 100644
--- a/isys/iface.h
+++ b/isys/iface.h
@@ -42,15 +42,9 @@ enum { IPV6_UNUSED_METHOD, IPV6_AUTO_METHOD, IPV6_DHCP_METHOD,
#define IPV6_FIRST_METHOD IPV6_AUTO_METHOD
#define IPV6_LAST_METHOD IPV6_MANUAL_METHOD
-/* Flags for the iface_t */
+/* Flags for the iface_t (do we need these?) */
#define IFACE_FLAGS_NO_WRITE_RESOLV_CONF (((uint64_t) 1) << 0)
-/* FIXME: do we need these? */
-#define IFACE_FLAGS_IS_PRESET (((uint64_t) 1) << 1)
-#define IFACE_FLAGS_IS_DYNAMIC (((uint64_t) 1) << 2)
-
#define IFACE_NO_WRITE_RESOLV_CONF(a) ((a) & IFACE_FLAGS_NO_WRITE_RESOLV_CONF)
-#define IFACE_IS_PRESET(a) ((a) & IFACE_FLAGS_IS_PRESET)
-#define IFACE_IS_DYNAMIC(a) ((a) & IFACE_FLAGS_IS_DYNAMIC)
/* Macros for starting NetworkManager */
#define NETWORKMANAGER "/usr/sbin/NetworkManager"