summaryrefslogtreecommitdiff
path: root/lib/sockopt.h
diff options
context:
space:
mode:
authorPaul Jakma <paul@opensourcerouting.org>2014-09-19 16:41:10 +0100
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-05-26 15:33:30 +0000
commitf842f166403b993a6763611808ae05da6cb9ca93 (patch)
tree7528b131a9fd6fc0a855f4daeb3a1f7eaf510292 /lib/sockopt.h
parent0908a2fdd38417908959f548548ca13a3b5c435a (diff)
ospfd: Make ospf_passive_interface_update calls friendly to static analysis
* ospf_vty.c: ({no_}ospf_passive_interface_addr_cmd) To a static analyser, the call to ospf_passive_interface_update can look like uninitialised memory in addr might be read from. It won't be, as ospf_passive_interface_update only reads addr if params != IF_DEF_PARAMS, but not clear. Split up the helper into the two cases to make it clear. (cherry picked from commit e1bcd4741c24ff990a9413ead9a9e37b80153046)
Diffstat (limited to 'lib/sockopt.h')
0 files changed, 0 insertions, 0 deletions