mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 22:26:14 +00:00
zebra: add show pbr iptable dscp information
The iptable configured with dscp displays the dscp value configured. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
4977bd6c19
commit
69214c57c3
@ -1084,6 +1084,11 @@ static int zebra_pbr_show_iptable_walkcb(struct hash_backet *backet, void *arg)
|
||||
vty_out(vty, "\t tcpflags [%s/%s]\n",
|
||||
tcp_flag_str, tcp_flag_mask_str);
|
||||
}
|
||||
if (iptable->filter_bm & (MATCH_DSCP_SET | MATCH_DSCP_INVERSE_SET)) {
|
||||
vty_out(vty, "\t dscp %s %d\n",
|
||||
iptable->filter_bm & MATCH_DSCP_INVERSE_SET ?
|
||||
"not" : "", iptable->dscp_value);
|
||||
}
|
||||
ret = hook_call(zebra_pbr_iptable_wrap_script_get_stat,
|
||||
zns, iptable, &pkts, &bytes);
|
||||
if (ret && pkts > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user