cosmetic: aggressively set vty->index to NULL in osmo_ss7_vty_go_parent()
Change-Id: I579482f679cd43edfbe796a5806ef360335f1c55
This commit is contained in:
parent
72dd761fe1
commit
6d46ac8951
|
@ -1640,10 +1640,12 @@ int osmo_ss7_vty_go_parent(struct vty *vty)
|
|||
break;
|
||||
case L_CS7_SCCPADDR_GT_NODE:
|
||||
vty->node = L_CS7_SCCPADDR_NODE;
|
||||
vty->index = NULL;
|
||||
break;
|
||||
case L_CS7_NODE:
|
||||
default:
|
||||
vty->node = CONFIG_NODE;
|
||||
vty->index = NULL;
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue