[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] Fix descriptions in pcapif.c
From: |
Gisle Vanem |
Subject: |
[lwip-devel] Fix descriptions in pcapif.c |
Date: |
Fri, 21 Oct 2011 01:12:55 +0200 |
On startup of test-app, here are my WinPcap devices:
Starting lwIP, local interface IP is 10.0.0.8
0: \\.\airpcap00
Desc: "AirPcap USB wireless capture adapter nr. 00"
1: NPF_GenericDialupAdapter
Desc: "Adapter for generic dialup and VPN capture"
2: NPF_{7F56352E-EF2F-49F4-844C-BA1FA0105667}
Desc: "MS Tunnel Interface Driver"
3: NPF_{8D3A23A7-9C6C-408B-A23B-6736F9E56510}
Desc: "Realtek 10/100/1000 Ethernet NIC "
4: NPF_{37FC13D9-2F52-47CA-AB64-32B2B434C749}
Desc: "Realtek RTL8187 Wireless LAN USB NIC
"
5: NPF_{75451EE7-5145-471A-BAF5-124BE8439D10}
Desc: "WAN (PPP/SLIP) Interface"
Using adapter_num: 3
Using adapter: "Realtek 10/100/1000 Ethernet NIC
"
Note the trailing spaces. Attached is a simple fix to get rid of them.
Btw. If I build with 'PACKET_LIB_GET_ADAPTER_NETADDRESS' there are
2 functions with the name 'get_adapter_index_from_addr()'. One static
in pcapif.c and one non-static in pcap_helper.c. Doesn't seem right.
An oversight?
--gv
diff-1.txt
Description: Text document
- [lwip-devel] Fix descriptions in pcapif.c,
Gisle Vanem <=