summaryrefslogtreecommitdiff
path: root/render_md.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-27 18:56:30 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-27 18:56:30 -0500
commit17a217216d2a3be320c7e4694656bf8fcc4c5b0d (patch)
tree89df98a325b75de8c940ef3fdface619253ea462 /render_md.py
parent08c9af9375a8555edc180fab4ca5ba385a2b7ec3 (diff)
zebra: Fix failure to parse src
If src happens to point at all 0's due to not initializing it and if the address passed in is not a v6 address then we would not set src in the AF_INET6 call and would fail the (src.ipv4.s_addr && inet_pton(AF_INET...) call. Thus causing us to return a NULL and make the routemap code think there was an issue. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'render_md.py')
0 files changed, 0 insertions, 0 deletions