diff options
| author | Mark Stapp <mstapp@nvidia.com> | 2021-10-21 13:21:35 +0000 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-28 10:10:33 -0400 | 
| commit | 449f66552fd85277f9fa8724ae9c26e652ded7e0 (patch) | |
| tree | eca735a443ae71060682a2142834de548578410f /vtysh/vtysh.c | |
| parent | 916af6559c73f8a2d91c8b73f265954a33473f1e (diff) | |
vtysh: use daemon type and handle multi-instance types
To handle multi-instance daemons (ospf, e.g.), each forked
vtysh handles all of the instances of a daemon type.
Signed-off-by: Mark Stapp <mstapp@nvidia.com>
Diffstat (limited to 'vtysh/vtysh.c')
| -rw-r--r-- | vtysh/vtysh.c | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 93c3e9ae1e..7c9c46202e 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -135,8 +135,6 @@ struct vtysh_client vtysh_client[] = {  	{.name = "pim6d", .flag = VTYSH_PIM6D},  }; -char my_client[64]; -  /* Searches for client by name, returns index */  static int vtysh_client_lookup(const char *name)  {  | 
