[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#258109: netcfg-static: IUCV not detected as a point-to-point connection



Package: netcfg-static
Version: 0.72
Severity: important
Tags: patch

IUCV is a point-to-point connection type, but netcfg-static was not
detecting it as such.  I have included a patch that fixes this.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing')
Architecture: s390
Kernel: Linux 2.4.17
Locale: LANG=C, LC_CTYPE=C

--- static.c.orig	2004-07-07 14:04:35.000000000 -0400
+++ static.c	2004-07-07 11:54:17.000000000 -0400
@@ -434,7 +434,8 @@
                 if (strncmp(interface, "plip", 4) == 0
                     || strncmp(interface, "slip", 4) == 0
                     || strncmp(interface, "ctc", 3) == 0
-                    || strncmp(interface, "escon", 5) == 0)
+                    || strncmp(interface, "escon", 5) == 0
+                    || strncmp(interface, "iucv", 4) == 0)
                     state = GET_POINTOPOINT;
                 else
                     state = GET_NETMASK;

Reply to: