commit | e1bcd4741c24ff990a9413ead9a9e37b80153046 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul@opensourcerouting.org> | Fri Sep 19 16:41:10 2014 +0100 |
committer | Paul Jakma <paul@quagga.net> | Tue May 05 12:51:43 2015 +0100 |
tree | 945ee904f65bc18eb3c2d03f6dd225e9d3b25938 | |
parent | 10bac80195cf5a781da6e4415e6580fd7080f734 [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.