Changeset d726c7b


Ignore:
Timestamp:
08/23/12 10:25:54 (9 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
699c4a3
Parents:
16c598d
Message:
  • Fixed bug where int: wouldn't work properly when used on loopback interfaces
Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux.c

    ra3041a4 rd726c7b  
    600600        switch (linktype) {
    601601                case ARPHRD_ETHER:
     602                case ARPHRD_LOOPBACK:
    602603                        return TRACE_TYPE_ETH;
    603604                case ARPHRD_PPP:
  • lib/linktypes.c

    r48d72f8 rd726c7b  
    187187                case ARPHRD_80211_RADIOTAP: return TRACE_TYPE_80211_RADIO;
    188188                case ARPHRD_PPP: return TRACE_TYPE_NONE;
    189                 case ARPHRD_LOOPBACK: return TRACE_TYPE_NONE;
     189                case ARPHRD_LOOPBACK: return TRACE_TYPE_ETH;
    190190                case ARPHRD_NONE: return TRACE_TYPE_NONE;
    191191        }
Note: See TracChangeset for help on using the changeset viewer.