commit | 45362bbc96e019c63bcfd2a81f42458fd4cf4363 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Fri Aug 17 13:16:10 2012 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Fri Aug 17 13:16:10 2012 +0200 |
tree | 8d5bc6573fbdbf00fc0c883743ccbfde9d805e7d | |
parent | 85a77b1f06cf56de2266b33c535b908cd435bf38 [diff] |
VTY: improve VTY prompt and make sure exit/end works everywhere Some nodes below 'config' didn't have ournode_exit / ournode_end, and thus were not able to properly perform this function. exit should always only go back one level, while end drops us back to ENABLE_NODE. The prompt now represents the nesting level, and there's one consistent space after the final prompt character (typically #).