mobile: Use enum and not magic value in the VTY
Change-Id: I8a1d975997e592344327e6b0783bd0c5d2534b02
This commit is contained in:
parent
ff43e1a1b3
commit
271cdad401
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue