From 3b0c3697a3a749fb0a5cf2fa947761d001387830 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Mon, 4 Jun 2018 18:13:00 +0200 Subject: [PATCH] bgpd: add comment to inform that icmp can be stored in that struct Generic ipset entry structure will be reused to host icmp information. Signed-off-by: Philippe Guibert --- zebra/zebra_pbr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zebra/zebra_pbr.h b/zebra/zebra_pbr.h index c9c191581d..71b5c4cd5a 100644 --- a/zebra/zebra_pbr.h +++ b/zebra/zebra_pbr.h @@ -91,8 +91,10 @@ struct zebra_pbr_ipset_entry { struct prefix src; struct prefix dst; + /* udp/tcp src port or icmp type */ uint16_t src_port_min; uint16_t src_port_max; + /* udp/tcp dst port or icmp code */ uint16_t dst_port_min; uint16_t dst_port_max; -- 2.39.5