diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-09-30 15:38:03 +0200 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-07 09:09:52 -0400 |
| commit | 3ddccf1805208b3fba7098ea7ab1725e23329e41 (patch) | |
| tree | 61f0b640b641c1649efd1f0899a48153213d3e2f /zebra/main.c | |
| parent | 0b47280e45ce89e7dbdc7c0124d21ae722e6da59 (diff) | |
zebra: use qobj and enable concurrent config edits
This puts all the proper VTY_DECLVAR_CONTEXT calls in place, removing
all vty->index uses in the process. With that, vty_config_lockless can
be enabled in zebra.
[v2: fix ordering screw-up in "interface XXX" command]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/main.c')
| -rw-r--r-- | zebra/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c index da7e6b6fb8..9247d43507 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -346,6 +346,7 @@ main (int argc, char **argv) /* Vty related initialize. */ signal_init (zebrad.master, array_size(zebra_signals), zebra_signals); cmd_init (1); + vty_config_lockless (); vty_init (zebrad.master); memory_init (); |
