13 lines
409 B
Diff
13 lines
409 B
Diff
Index: gencode.c
|
|
===================================================================
|
|
--- gencode.c.orig
|
|
+++ gencode.c
|
|
@@ -8204,6 +8204,7 @@ gen_inbound(compiler_state_t *cstate, in
|
|
*/
|
|
switch (cstate->linktype) {
|
|
case DLT_SLIP:
|
|
+ case DLT_PPP:
|
|
b0 = gen_relation_internal(cstate, BPF_JEQ,
|
|
gen_load_internal(cstate, Q_LINK, gen_loadi_internal(cstate, 0), 1),
|
|
gen_loadi_internal(cstate, 0),
|