diff options
| author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2025-11-28 15:43:07 +0100 |
|---|---|---|
| committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2026-06-04 16:18:29 +0200 |
| commit | dffcc04dc143202b412a96ba60867d8509c57e1c (patch) | |
| tree | cbff28ab76967fe436e9b0632fdd0b11b2e3cda3 /interface-definitions | |
| parent | 88dfc8cd43521ae489900fb9746c56545140df54 (diff) | |
| download | vyos-1x-dffcc04dc143202b412a96ba60867d8509c57e1c.tar.gz vyos-1x-dffcc04dc143202b412a96ba60867d8509c57e1c.zip | |
geoip: T5746: Add GeoIP ASN support
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/include/firewall/geoip.xml.i | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/geoip.xml.i b/interface-definitions/include/firewall/geoip.xml.i index 09b2da663..55765e6c5 100644 --- a/interface-definitions/include/firewall/geoip.xml.i +++ b/interface-definitions/include/firewall/geoip.xml.i @@ -4,6 +4,19 @@ <help>GeoIP options - Data provided by DB-IP.com</help> </properties> <children> + <leafNode name="asn"> + <properties> + <help>Autonomous system number</help> + <valueHelp> + <format>u32:1-4294967294</format> + <description>Autonomous system number</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-4294967294"/> + </constraint> + <multi /> + </properties> + </leafNode> <leafNode name="country-code"> <properties> <help>GeoIP country code</help> |
