summaryrefslogtreecommitdiff
path: root/lib/netns_linux.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-10-21 18:21:16 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-10-21 19:04:30 +0000
commit00c3cf9c2ac9f9cbabed6f76c7270eaa97234882 (patch)
treedf6f033452ef239a0b21ca450e068b3629bed3f6 /lib/netns_linux.c
parentacf061a9ab9284b7ebf6dffbe2cf5ea6ed9052da (diff)
vrrpd: fix startup error message reporting
Due to some extremely shoddy programming on my part, the error messages for certain errors was pretty much always wrong. We would start with the correct error message, then on the next check, regardless of whether it passed or failed, we would null out the error message, then on the next one set it again (to the wrong message), then null it, and just keep alternating. So errors were sometimes not being reported, sometimes being reported correctly (if the condition parity happened to match the appropriate condition), and sometimes being reported correctly. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/netns_linux.c')
0 files changed, 0 insertions, 0 deletions