7 Mar
2018
7 Mar
'18
8:47 a.m.
What I’ve found, is that I get a not a DHCP attribute error if I try: ERX-Dhcp-Options = "0x%{dhcp:control:DHCP-Vendor-URL}”
But not if I try: ERX-Dhcp-Options = "0x%{dhcp:DHCP-Vendor-URL}” OR ERX-Dhcp-Options = "0x%{dhcp:control:DHCP-Vendor}”
Obviously, I set them in the relevant correct places before these lines. I don’t understand why this is the case - it only seems like it doesn’t like control being there if it’s the TLV attributes, but the top level TLV works fine.. very odd.
Could it be the attribute doesn't actually exist in the control list? I just checked the code and it'll parse lists fine. Use debug_control before calling the xlat to double check. Thanks, -Arran