]> git.proxmox.com Git - mirror_frr.git/commit - lib/if.h
*: make DEFUN installations file-local
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 16 Nov 2016 06:00:52 +0000 (15:00 +0900)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 1 Dec 2016 16:25:56 +0000 (17:25 +0100)
commit0b84f294904959a4be58db6fe0e89d71b2c1f401
treef52c765644294f314ede33506f29b6888439b904
parent0577b824e137f143c899a567b1bbeb109841c796
*: make DEFUN installations file-local

This moves all install_element calls into the file where the DEFUNs are
located.  This fixes several small related bugs:

- ospf6d wasn't installing a "no interface FOO" command
- zebra had a useless copy of "interface FOO"
- pimd's copy of "interface FOO" was not setting qobj_index, which means
  "description LINE" commands would fail with an error

The next commit will do the actual act of making "foo_cmd" static.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
18 files changed:
isisd/isis_circuit.c
ldpd/ldp_vty_conf.c
lib/command.c
lib/command.h
lib/if.c
lib/if.h
lib/thread.c
lib/thread.h
lib/vty.c
lib/workqueue.c
lib/workqueue.h
ospf6d/ospf6_interface.c
ospfd/ospf_vty.c
pimd/pim_cmd.c
ripd/rip_interface.c
ripngd/ripng_interface.c
vtysh/vtysh.c
zebra/interface.c