Wireshark-dev: Re: [Wireshark-dev] patch to eyesdn wiretap module

From: Rolf Fiedler <rolf.fiedler@xxxxxxxxxxxxx>
Date: Thu, 28 Sep 2006 12:45:40 +0200
> Hi,
> 
> Why not adding 129 as allowed channel number?
> Please supply patch as attachment for easy handling.
> 
> Thanx,
> Jaap

Hi Jaap,

thanks for your feedback. Initially I just changed the number from 30 to
129, but then I thought what happens if we add additional channels
again? Should we keep on patching on and on?
So I removed the test, since it is not helping in any way.

Please find the patch attached.
thanks a lot,
Rolf

Index: wiretap/eyesdn.c
===================================================================
--- wiretap/eyesdn.c	(Revision 19336)
+++ wiretap/eyesdn.c	(Arbeitskopie)
@@ -260,13 +260,6 @@
         pkt_len = (pkt_len << 8) | ((unsigned long) hdr[11]);
 
         /* sanity checks */
-        if(channel>30) {
-	    *err = WTAP_ERR_BAD_RECORD;
-            *err_info = g_strdup_printf("eyesdn: bad channel number %u",
-		channel);
-	    return -1;
-	}
-
         if(direction>1) {
 	    *err = WTAP_ERR_BAD_RECORD;
             *err_info = g_strdup_printf("eyesdn: bad direction value %u",