]> git.pld-linux.org Git - packages/trafshow.git/blob - trafshow-3.1-show-ppp.patch
- updated to 5.2.3
[packages/trafshow.git] / trafshow-3.1-show-ppp.patch
1 diff -r -u trafshow-3.1/interfaces.c dupa/interfaces.c
2 --- trafshow-3.1/interfaces.c   Mon Sep 15 01:24:24 2003
3 +++ dupa/interfaces.c   Mon Sep 15 01:23:07 2003
4 @@ -153,7 +153,7 @@
5                 p = packetp + SLC_BPFHDR;       /* skip bpf pseudo header */
6                 hdrlen = SLC_BPFHDR;
7  #endif
8 -               display(NULL, p, length - hdrlen);
9 +               display(NULL, p , length - hdrlen);
10                 break;
11         }
12  }
13 @@ -235,6 +235,7 @@
14         {       if_slip,        DLT_SLIP_BSDOS  }, /* libpcap stupid fake */
15  #endif
16         {       if_ppp,         DLT_PPP         },      /* PPP */
17 +       {       if_slip,                DLT_LINUX_SLL   },      /* PPP */
18  #ifdef DLT_PPP_BSDOS
19         {       if_ppp,         DLT_PPP_BSDOS   }, /* libpcap stupid fake */
20  #endif
21 diff -r -u trafshow-3.1/trafshow.c dupa/trafshow.c
22 --- trafshow-3.1/trafshow.c     Mon Sep 15 01:24:24 2003
23 +++ dupa/trafshow.c     Mon Sep 15 01:04:14 2003
24 @@ -162,7 +162,7 @@
25  #ifdef DLT_IEEE802
26             && op != DLT_IEEE802
27  #endif
28 -           ) error(0, "interface %s not an Ethernet", device_name);
29 +           ) //error(0, "interface %s not an Ethernet", device_name);
30  
31  #ifndef INET6
32         if (pcap_lookupnet(device_name, &localnet, &netmask, ebuf) < 0)
This page took 0.070359 seconds and 3 git commands to generate.