]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Some code cleanup based upon Review. 68/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 16 Jan 2017 13:57:20 +0000 (08:57 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 16 Jan 2017 13:57:20 +0000 (08:57 -0500)
commit602ba9bd8b118d3c1302e890010ca7c5d94e0ff5
treeaabeaf1bc3198c5021145cfb700b8bb6851aeb76
parent9aa7f43f7e7310c285f39a38ff36e1546c00058c
zebra: Some code cleanup based upon Review.

Cleanup 2 spots in the code:
1) In if_netlink.c -> combine multi-line if statement into 1 line
2) In zebra_ptm.c -> only handle code that needs to be inside the if statement
in the if statement.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/if_netlink.c
zebra/zebra_ptm.c