Use is '-' to imply that the flag is not set, rather than '.'.
This commit is contained in:
parent
f93d36fd92
commit
8729849a45
@ -75,7 +75,7 @@ bpf_flags(struct xbpf_d *bd, char *flagbuf)
|
||||
*flagbuf++ = bd->bd_promisc ? 'p' : '-';
|
||||
*flagbuf++ = bd->bd_immediate ? 'i' : '-';
|
||||
*flagbuf++ = bd->bd_hdrcmplt ? '-' : 'f';
|
||||
*flagbuf++ = bd->bd_seesent ? 's' : '.';
|
||||
*flagbuf++ = bd->bd_seesent ? 's' : '-';
|
||||
*flagbuf++ = bd->bd_async ? 'a' : '-';
|
||||
*flagbuf++ = bd->bd_locked ? 'l' : '-';
|
||||
*flagbuf++ = '\0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user