it's said libpcap will yield IP packets directly, without encapsulating PPP packets, when sniffing a PPP interface.

blindly adding handling code for that...
This commit is contained in:
Arnout Engelen
2006-11-04 16:59:44 +00:00
parent 4a866021fc
commit 7fbbe70e0c
3 changed files with 11 additions and 0 deletions

View File

@@ -55,3 +55,5 @@ int dp_dispatch (struct dp_handle * handler, int count, u_char *user, int size);
int dp_datalink(struct dp_handle * handle);
int dp_setnonblock (struct dp_handle * handle, int i, char * errbuf);