diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2018-09-08 21:46:23 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2020-04-16 12:53:00 +0200 | 
| commit | 62b346eefa1b9e09c9372f5b6376e1bca4162015 (patch) | |
| tree | 2e3bc16d1d0765ab033c7ffd24ca58b3b5d35168 /ripd/rip_interface.c | |
| parent | 4c749d99dcdc7f0d811d0bbd2858b87f41e4feba (diff) | |
*: clean up cmd_node initializers
... and use named assignments everywhere (so I can change the struct.)
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ripd/rip_interface.c')
| -rw-r--r-- | ripd/rip_interface.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c index c05d776eb1..99b7c78d6d 100644 --- a/ripd/rip_interface.c +++ b/ripd/rip_interface.c @@ -1194,7 +1194,9 @@ int rip_show_network_config(struct vty *vty, struct rip *rip)  }  static struct cmd_node interface_node = { -	INTERFACE_NODE, "%s(config-if)# ", 1, +	.node = INTERFACE_NODE, +	.prompt = "%s(config-if)# ", +	.vtysh = 1,  };  void rip_interface_sync(struct interface *ifp)  | 
