OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_test.c versions 1.34 and 1.35
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_test.c 1.34 -> 1.35

--- l2_test.c    2001/10/22 16:32:29     1.34
+++ l2_test.c    2001/11/02 18:42:51     1.35
@@ -183,12 +183,12 @@
     if ((chSock = l2_channel_create(&l2_handler_socket)) == NULL)   /* Socket */
         die("failed to create socket channel");
 
-    if (l2_channel_configure(chSock, "protocol,ipversion,host,port",\
-        "IPPROTO_TCP", "AF_INET", "localhost", 2002) != L2_OK)
+    if (l2_channel_configure(chSock, "protocol,host,port",\
+        "IPPROTO_TCP", "localhost", 2002) != L2_OK)
         die("failed to configure socket tcp/ipv4 channel");
 #if 0
-    if (l2_channel_configure(chSock, "protocol,ipversion,host,port",\
-          "IPPROTO_TCP", "AF_INET6", "0:0:0:0:0:0:0:1", 2002) != L2_OK)
+    if (l2_channel_configure(chSock, "protocol,host,port",\
+          "IPPROTO_TCP", "0:0:0:0:0:0:0:1", 2002) != L2_OK)
           die("failed to configure socket tcp/ipv6 channel");
 #endif
     if (l2_channel_open(chSock) != L2_OK)

CVSTrac 2.0.1