diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-06-25 15:16:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-25 15:16:38 +0300 |
| commit | f48e3771d0724a04fc6eb1abd07b556630e0d451 (patch) | |
| tree | 6614bf3508d7a08e032016fd86148c1f001813aa /interface-definitions/include | |
| parent | d3826867554eb9dbd30d5c8c781516a8afcfd96b (diff) | |
| parent | dffcc04dc143202b412a96ba60867d8509c57e1c (diff) | |
| download | vyos-1x-f48e3771d0724a04fc6eb1abd07b556630e0d451.tar.gz vyos-1x-f48e3771d0724a04fc6eb1abd07b556630e0d451.zip | |
Merge pull request #5155 from sarthurdev/geoip
geoip: T5746: Add GeoIP ASN support
Diffstat (limited to 'interface-definitions/include')
| -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> |
