summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-07-02 20:26:14 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-07-06 16:25:49 -1000
commit9caaca40bcaffb502dc58659e828f97d78a2d0f8 (patch)
tree8a13e0142d9241c085c9e80ef0e3964536e4665d /isys
parent9aaaf1bf676eb86b29f19fcffd4ec1e581b4b341 (diff)
downloadanaconda-9caaca40bcaffb502dc58659e828f97d78a2d0f8.tar.gz
anaconda-9caaca40bcaffb502dc58659e828f97d78a2d0f8.tar.xz
anaconda-9caaca40bcaffb502dc58659e828f97d78a2d0f8.zip
Add missing LAYER2 and PORTNO handling for s390x.
libisys and loader lacked handling for the LAYER2 and PORTNO settings present on s390x systems. Also include the fix for #468755 to write layer2=1 rather than layer=2 to the ifcfg-DEVICE file.
Diffstat (limited to 'isys')
-rw-r--r--isys/iface.c2
-rw-r--r--isys/iface.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/isys/iface.c b/isys/iface.c
index e139e7476..c1251be1a 100644
--- a/isys/iface.c
+++ b/isys/iface.c
@@ -381,6 +381,8 @@ void iface_init_iface_t(iface_t *iface) {
iface->peerid = NULL;
iface->nettype = NULL;
iface->ctcprot = NULL;
+ iface->layer2 = NULL;
+ iface->portno = NULL;
iface->flags = 0;
iface->ipv4method = IPV4_UNUSED_METHOD;
iface->ipv6method = IPV6_UNUSED_METHOD;
diff --git a/isys/iface.h b/isys/iface.h
index f67893274..3f9793552 100644
--- a/isys/iface.h
+++ b/isys/iface.h
@@ -95,6 +95,8 @@ typedef struct _iface_t {
char *peerid;
char *nettype;
char *ctcprot;
+ char *layer2;
+ char *portno;
/* flags */
uint64_t flags;