]> git.puffer.fish Git - mirror/frr.git/commit
quagga: "set community x:y" needs bounds checking
authorDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 14 Apr 2016 18:16:43 +0000 (18:16 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 14 Apr 2016 18:16:43 +0000 (18:16 +0000)
commit859d388e90958ce8eb42105023340c048c06ecb7
tree76b8cee029e37958f4597bccc75422f153e284e5
parent9585bba7647707921c9d4b05ca496b781c902b8b
quagga: "set community x:y" needs bounds checking

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-10002

superm-redxp-05# conf t
superm-redxp-05(config)# route-map FOO permit 10
superm-redxp-05(config-route-map)# set community ?
  AA:NN  Community number in AA:NN format (where AA and NN are <0-65535>) or local-AS|no-advertise|no-export|internet or additive
  none   No community attribute
superm-redxp-05(config-route-map)# set community 2:2
superm-redxp-05(config-route-map)# set community 2:70000
% Malformed communities attribute
superm-redxp-05(config-route-map)# set community 70000:2
% Malformed communities attribute
superm-redxp-05(config-route-map)#
bgpd/bgp_community.c
bgpd/bgp_route.c
bgpd/bgp_routemap.c
bgpd/bgp_vty.c
lib/command.h
tests/testcommands.refout