Changeset 22081 for packages


Ignore:
Timestamp:
2010-07-07T03:09:45+02:00 (6 years ago)
Author:
jow
Message:

[packages] tcpdump: properly handle iface names with leading digits (#7572)

Location:
packages/net/tcpdump
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/tcpdump/Makefile

    r19711 r22081  
    1010PKG_NAME:=tcpdump 
    1111PKG_VERSION:=4.0.0 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/tcpdump/patches/100-tcpdump_mini.patch

    r19711 r22081  
    207207--- a/tcpdump.c 
    208208+++ b/tcpdump.c 
    209 @@ -138,11 +138,14 @@ struct printer { 
     209@@ -139,11 +139,14 @@ struct printer { 
    210210 }; 
    211211  
     
    222222 #ifdef DLT_LANE8023 
    223223        { lane_if_print,        DLT_LANE8023 }, 
    224 @@ -157,19 +160,23 @@ static struct printer printers[] = { 
     224@@ -158,19 +161,23 @@ static struct printer printers[] = { 
    225225 #ifdef DLT_SLIP_BSDOS 
    226226        { sl_bsdos_if_print,    DLT_SLIP_BSDOS }, 
     
    246246 #ifdef DLT_C_HDLC 
    247247        { chdlc_if_print,       DLT_C_HDLC }, 
    248 @@ -180,15 +187,19 @@ static struct printer printers[] = { 
     248@@ -181,15 +188,19 @@ static struct printer printers[] = { 
    249249 #ifdef DLT_PPP_SERIAL 
    250250        { ppp_hdlc_if_print,    DLT_PPP_SERIAL }, 
     
    266266        { ltalk_if_print,       DLT_LTALK }, 
    267267 #endif 
    268 @@ -207,12 +218,14 @@ static struct printer printers[] = { 
     268@@ -208,12 +219,14 @@ static struct printer printers[] = { 
    269269 #ifdef DLT_IP_OVER_FC 
    270270        { ipfc_if_print,        DLT_IP_OVER_FC }, 
     
    281281        { enc_if_print,         DLT_ENC }, 
    282282 #endif 
    283 @@ -222,9 +235,11 @@ static struct printer printers[] = { 
     283@@ -223,9 +236,11 @@ static struct printer printers[] = { 
    284284 #ifdef DLT_APPLE_IP_OVER_IEEE1394 
    285285        { ap1394_if_print,      DLT_APPLE_IP_OVER_IEEE1394 }, 
     
    293293        { juniper_atm1_print,   DLT_JUNIPER_ATM1 }, 
    294294 #endif 
    295 @@ -276,6 +291,7 @@ static struct printer printers[] = { 
     295@@ -277,6 +292,7 @@ static struct printer printers[] = { 
    296296 #if defined(DLT_BLUETOOTH_HCI_H4_WITH_PHDR) && defined(HAVE_PCAP_BLUETOOTH_H) 
    297297        { bt_if_print, DLT_BLUETOOTH_HCI_H4_WITH_PHDR}, 
Note: See TracChangeset for help on using the changeset viewer.