summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
Diffstat (limited to 'vtysh')
-rwxr-xr-xvtysh/extract.pl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index 316ea598e..ca280c587 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -198,7 +198,7 @@ foreach (keys %odefun) {
}
# Output DEFSH
-foreach (keys %live) {
+foreach (sort keys %live) {
my ($proto);
my ($key);
$key = $live{$_};
@@ -213,7 +213,7 @@ vtysh_init_cmd ()
{
EOF
-foreach (keys %odefun) {
+foreach (sort keys %odefun) {
my ($node, $str) = (split (/,/));
$cmd = $ocmd{$_};
$cmd =~ s/_cmd/_cmd_vtysh/;