]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: add comment to inform that icmp can be stored in that struct
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 4 Jun 2018 16:13:00 +0000 (18:13 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 28 Jun 2018 06:52:15 +0000 (08:52 +0200)
Generic ipset entry structure will be reused to host icmp information.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_pbr.h

index c9c191581d9bbc08348ecdd07cd88ea832d06586..71b5c4cd5af80fb2675f8aed57812878644f5e3b 100644 (file)
@@ -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;