summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2017-01-17 17:51:40 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2017-01-17 17:51:40 +0100
commitbac21a7c4ba2dd131e8e82a13ab57a1a295a52ef (patch)
treea44333f20a831d2f5e362a9fba50a42a6ecc2b51 /lib/command.c
parentcc5eb677527ce107000da7de7cf69500cc64c946 (diff)
bgpd: avoid recalculating as_val value in str2prefix_rd
This is an optimisation that consists in avoiding calling twice atol() function when converting an ext. community to an AS4 byte or a standard AS byte value. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions