OSSP CVS Repository

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

ossp-pkg/l2/l2_test.c 1.29 -> 1.30

--- l2_test.c    2001/10/04 12:53:54     1.29
+++ l2_test.c    2001/10/04 13:35:47     1.30
@@ -165,11 +165,11 @@
         die("failed to create socket channel");
 
     if (l2_channel_configure(chSock, "protocol,ipversion,host,port",\
-        "tcp", "ipv4", "localhost", 2002) != L2_OK)
+        "IPPROTO_TCP", "AF_INET", "localhost", 2002) != L2_OK)
         die("failed to configure socket tcp/ipv4 channel");
 #if 0
     if (l2_channel_configure(chSock, "protocol,ipversion,host,port",\
-          "tcp", "ipv6", "0:0:0:0:0:0:0:1", 2002) != L2_OK)
+          "IPPROTO_TCP", "AF_INET6", "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