in 4.2/i386, number-only macros in ipsec.conf worked fine/parsed
  OK, syntax-wise:

---
# cat test.conf 
cat = "dog"
cow = $cat
cat = "1234abc"
cow = $cat
cat = "1234"
cow = $cat
# uname -msr; ipsecctl -nvvf ./test.conf 
OpenBSD 4.2 i386
cat = "dog"
cow = "dog"
cat = "1234abc"
cow = "1234abc"
cat = "1234"
cow = "1234"
warning: macro 'cow' not used
#
---

  in 4.7 -current/amd64, it fails:

---
# uname -msr; ipsecctl -nvvvvf test.conf
OpenBSD 4.7 amd64
cat = "dog"
cow = "dog"
cat = "1234abc"
cow = "1234abc"
cat = "1234"
test.conf: 6: syntax error
warning: macro 'cow' not used
ipsecctl: Syntax error in config file: ipsec rules not loaded
----

  since i don't know for sure if this is a bug, i wanted to ask here, maybe
  this is intentional.
 
-- 

  jared

Reply via email to