Ethereal-dev: [ethereal-dev] IPv6 patch for loopback

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jochen Friedrich <jochen@xxxxxxxx>
Date: Sat, 21 Aug 1999 15:47:05 +0200 (CEST)
Index: packet-null.c
===================================================================
RCS file: /cvsroot/ethereal/packet-null.c,v
retrieving revision 1.10
diff -u -r1.10 packet-null.c
--- packet-null.c	1999/07/29 05:47:00	1.10
+++ packet-null.c	1999/08/21 13:39:29
@@ -76,6 +76,10 @@
     case 0x0800:
     case 0x0021:
     case 0x2100:
+    case 0x0057:
+    case 0x5700:
+    case 0x86DD:
+    case 0xDD86:
       capture_ip(pd, 4, cap_len, ld);
       break;
     default:
@@ -133,6 +137,12 @@
     case 0x0021:
     case 0x2100:
       dissect_ip(pd, 4, fd, tree);
+      break;
+    case 0x86DD:
+    case 0xDD86:
+    case 0x0057:
+    case 0x5700:
+      dissect_ipv6(pd, 4, fd, tree);
       break;
     default:
       dissect_data(pd, 4, fd, tree);