On Tuesday, February 25, 2014 5:19:06 AM UTC-8, Daniel Borkmann wrote:
>
>
> Instead, try using the following BPF filter: 
>
> (Any VLAN packet) 
>
> ld vlanp 
> jeq #0, drop 
> ret #-1 
> drop: ret #0 
>
>
I'm just getting back to this madness... I try to compile that and get an 
error:

Syntax error at line 1: vlanp! syntax error, unexpected label, expecting 
'[' or 'M' or '#'!

Is there any way to get both van and 'not vlan' packets this way?

Tim

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to