summaryrefslogtreecommitdiff
path: root/python/clidef.py
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-09-20 00:02:01 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-10-09 20:15:14 -0300
commit9a62e84b5b6379ff3419da8f52728b95f31bacf3 (patch)
treed7d165fe5fcaaaab13bd064a56c943e6a9f59d4d /python/clidef.py
parent09d0f308ce8e1bb1fcfd4abd5302dad57bd1d4b8 (diff)
zebra: fix logging of MPLS labels
* use %u instead of %d, we don't want to print negative labels; * increase the size of label_buf to accommodate the worst case scenarios; * use strlcat() instead of strcat() as a security best practice. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'python/clidef.py')
0 files changed, 0 insertions, 0 deletions