Add a single asnum test, just to make sure that works as well
-# $OpenBSD: bgpd.conf.6.in,v 1.3 2018/09/09 13:31:10 claudio Exp $
+# $OpenBSD: bgpd.conf.6.in,v 1.4 2018/09/09 14:28:50 claudio Exp $
# test as-set blocks
AS 1
-as-set empty { }
+#as-set empty { }
+as-set one { 1 }
as-set "test1" { 1 2 3 4 }
as-set "test2" { 1, 2, 3, 4 }
socket "/var/run/bgpd.sock.0"
holdtime min 3
fib-priority 48
-as-set "empty" {
-
+as-set "one" {
+ 1
}
as-set "test1" {
-# $OpenBSD: bgpd.conf.7.in,v 1.3 2018/09/09 13:31:10 claudio Exp $
+# $OpenBSD: bgpd.conf.7.in,v 1.4 2018/09/09 14:28:50 claudio Exp $
# test prefix-set blocks
AS 1
-prefix-set empty { }
+#prefix-set empty { }
prefix-set test1 { 1.2.3/24 }
prefix-set test2 { 1.2.3/24 1.2.8.0/22 prefixlen = 24 }
socket "/var/run/bgpd.sock.0"
holdtime min 3
fib-priority 48
-prefix-set "empty" {
-}
-
prefix-set "test1" {
1.2.3.0/24
}