diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-09-20 00:02:01 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-10-09 20:15:14 -0300 |
| commit | 9a62e84b5b6379ff3419da8f52728b95f31bacf3 (patch) | |
| tree | d7d165fe5fcaaaab13bd064a56c943e6a9f59d4d /zebra/kernel_socket.c | |
| parent | 09d0f308ce8e1bb1fcfd4abd5302dad57bd1d4b8 (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 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions
