diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2017-11-29 11:50:54 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2017-11-30 17:03:25 +0800 |
commit | 271cdad401de897fed49c19897bf89359044457e (patch) | |
tree | 72e62b8c371d6f4a3fcc30b62e7e440265f404cc /src/host/layer23/src/mobile/vty_interface.c | |
parent | ff43e1a1b306ea63f7b375bf0ab2773df7d144ba (diff) |
mobile: Use enum and not magic value in the VTY
Change-Id: I8a1d975997e592344327e6b0783bd0c5d2534b02
Diffstat (limited to 'src/host/layer23/src/mobile/vty_interface.c')
-rw-r--r-- | src/host/layer23/src/mobile/vty_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/mobile/vty_interface.c b/src/host/layer23/src/mobile/vty_interface.c index 5a47736a..eafed6ea 100644 --- a/src/host/layer23/src/mobile/vty_interface.c +++ b/src/host/layer23/src/mobile/vty_interface.c @@ -2703,7 +2703,7 @@ DEFUN(cfg_no_shutdown, cfg_ms_no_shutdown_cmd, "no shutdown", return CMD_SUCCESS; llist_for_each_entry(tmp, &ms_list, entity) { - if (tmp->shutdown == 3) + if (tmp->shutdown == MS_SHUTDOWN_COMPL) continue; if (!strcmp(ms->settings.layer2_socket_path, tmp->settings.layer2_socket_path)) { |