diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2017-01-17 17:51:40 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2017-01-17 17:51:40 +0100 |
| commit | bac21a7c4ba2dd131e8e82a13ab57a1a295a52ef (patch) | |
| tree | a44333f20a831d2f5e362a9fba50a42a6ecc2b51 /lib/command.c | |
| parent | cc5eb677527ce107000da7de7cf69500cc64c946 (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
