Closed ghost closed 9 years ago
This is fixed in b6fe86a0990d9f5f25f895da2a44ffd8c26fdd87. Thanks for reporting.
OMG, it's still broken:
$ bundle exec junoser -s configfile
system {
ports {
console {
log-out-on-disconnect;
}
}
}
should be
system {
ports {
console log-out-on-disconnect;
}
}
I decided two lines configuration is acceptable.
console {
log-out-on-disconnect;
}
After a quick investigation,
set system ports console log-out-on-disconnect
generates:
system {
ports {
# one line
console log-out-on-disconnect;
}
}
in JUNOS system, but set system ports console log-out-on-disconnect insecure
generates:
system {
ports {
console {
# two lines
log-out-on-disconnect;
insecure;
}
}
}
I'd think that It's too hard to completely emulate this behavior without introducing messy code.
Also, please note that both types of configuration are valid in syntax.
our EX4300 has below config.
this error is occur. maybe log-out-on-disconnect is not defined at vsrx.