]> The Tcpdump Group git mirrors - libpcap/commitdiff
Catch attempts to filter on ISO hosts (we don't support that) and to
authorguy <guy>
Sat, 28 Oct 2000 09:43:56 +0000 (09:43 +0000)
committerguy <guy>
Sat, 28 Oct 2000 09:43:56 +0000 (09:43 +0000)
apply "esis" or "isis" to host names.

gencode.c

index ea844903b1a8b74c85109358f532d1565ef29abb..808c9e09e5f5229b2c17230eb25b8de2db3a7f53 100644 (file)
--- a/gencode.c
+++ b/gencode.c
@@ -21,7 +21,7 @@
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.129 2000-10-28 09:30:21 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.130 2000-10-28 09:43:56 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -1281,6 +1281,15 @@ gen_host(addr, mask, proto, dir)
        case Q_ESP:
                bpf_error("'esp' modifier applied to host");
 
+       case Q_ISO:
+               bpf_error("ISO host filtering not implemented");
+
+       case Q_ESIS:
+               bpf_error("'esis' modifier applied to host");
+
+       case Q_ISIS:
+               bpf_error("'isis' modifier applied to host");
+
        default:
                abort();
        }
@@ -1361,6 +1370,15 @@ gen_host6(addr, mask, proto, dir)
        case Q_ESP:
                bpf_error("'esp' modifier applied to host");
 
+       case Q_ISO:
+               bpf_error("ISO host filtering not implemented");
+
+       case Q_ESIS:
+               bpf_error("'esis' modifier applied to host");
+
+       case Q_ISIS:
+               bpf_error("'isis' modifier applied to host");
+
        default:
                abort();
        }