diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-28 19:06:43 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-28 19:06:43 +0200 |
commit | 6d46ac8951be6a8879759a9decf46344b194c4cf (patch) | |
tree | c0661aa89e43cbb4ca79a6b73099de0b48e4f29b | |
parent | 72dd761fe1ddeaf1a26d05c9635df1b4dc75842f (diff) |
cosmetic: aggressively set vty->index to NULL in osmo_ss7_vty_go_parent()
Change-Id: I579482f679cd43edfbe796a5806ef360335f1c55
-rw-r--r-- | src/osmo_ss7_vty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c index 5731326..1fb35a1 100644 --- a/src/osmo_ss7_vty.c +++ b/src/osmo_ss7_vty.c @@ -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; |