post-processing fix: set sntp server version
@@ -4826,6 +4826,10 @@ public class CiscoControlPlaneExtractor extends CiscoParserBaseListener
Sntp sntp = _configuration.getCf().getSntp();
String hostname = ctx.hostname.getText();
SntpServer server = sntp.getServers().computeIfAbsent(hostname, SntpServer::new);
+ if (ctx.version != null) {
+ int version = toInteger(ctx.version);
+ server.setVersion(version);
+ }
}
@Override
