]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fixed pointer arithmatic miscalculation
authorNigel Kukard <nkukard@lbsd.net>
Thu, 31 Aug 2017 09:27:46 +0000 (09:27 +0000)
committerNigel Kukard <nkukard@lbsd.net>
Thu, 31 Aug 2017 23:39:53 +0000 (23:39 +0000)
commit3ac053e608b63041afbf0080f03670d4b56e7fef
tree28979c2e0d0e72c5887c1feb27539733d13d3901
parent534fc1957bd5f2d4985a2633540eed3182bb8ef9
bgpd: Fixed pointer arithmatic miscalculation

If we increment PTR by i * size each time, we end up doing 1, 3, 6
etc.

Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
bgpd/bgp_lcommunity.c