diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2020-10-06 19:49:37 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2020-10-06 22:50:10 +0200 |
commit | 320c71d45cbec07034654130ae4ee8d2f0f60976 (patch) | |
tree | 84a8cd1c87c18daaf85a8d2422367531e6750f1e /src/sccp_vty.c | |
parent | b4bac732455a4cfd31581a688de0beca25b277b0 (diff) |
vty: add attributes to VTY commands indicating when they apply
Diffstat (limited to 'src/sccp_vty.c')
-rw-r--r-- | src/sccp_vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sccp_vty.c b/src/sccp_vty.c index 2e5b345..13fe402 100644 --- a/src/sccp_vty.c +++ b/src/sccp_vty.c @@ -143,8 +143,8 @@ DEFUN(show_sccp_connections, show_sccp_connections_cmd, /* sccp-timer <name> <1-999999> * (cmdstr and doc are dynamically generated from osmo_sccp_timer_names.) */ -DEFUN(sccp_timer, sccp_timer_cmd, - NULL, NULL) +DEFUN_ATTR(sccp_timer, sccp_timer_cmd, + NULL, NULL, CMD_ATTR_IMMEDIATE) { struct osmo_ss7_instance *ss7 = vty->index; enum osmo_sccp_timer timer = get_string_value(osmo_sccp_timer_names, argv[0]); |