From d692b330838f4ee87cda2a52dcb3f32129a293d8 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 5 Jun 2020 07:42:56 +0200 Subject: T2548: interface address does not support IP network definition When migrating all single instances of the IP address XML definition to the reusable include file an error was ported, too. This allowed an interface be assigned an IPv4/IPv6 network address es e.g. 192.0.2.0/24 which is invalid. The validator has been fixed to only allow IPv4/IPv6 host addresses instead. --- interface-definitions/include/address-ipv4-ipv6-dhcp.xml.i | 2 +- interface-definitions/include/address-ipv4-ipv6.xml.i | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/include/address-ipv4-ipv6-dhcp.xml.i b/interface-definitions/include/address-ipv4-ipv6-dhcp.xml.i index fb46f2c09..cca824d89 100644 --- a/interface-definitions/include/address-ipv4-ipv6-dhcp.xml.i +++ b/interface-definitions/include/address-ipv4-ipv6-dhcp.xml.i @@ -21,7 +21,7 @@ Dynamic Host Configuration Protocol for IPv6 - + (dhcp|dhcpv6) diff --git a/interface-definitions/include/address-ipv4-ipv6.xml.i b/interface-definitions/include/address-ipv4-ipv6.xml.i index aa84a5640..a891085bd 100644 --- a/interface-definitions/include/address-ipv4-ipv6.xml.i +++ b/interface-definitions/include/address-ipv4-ipv6.xml.i @@ -10,7 +10,7 @@ IPv6 address and prefix length - + -- cgit v1.2.3