From: Igor Ryzhov Date: Tue, 5 Oct 2021 10:27:39 +0000 (+0300) Subject: yang: replace an empty pattern with a zero-length restriction X-Git-Tag: docker/8.1.0~5^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F9784%2Fhead;p=mirror%2Ffrr.git yang: replace an empty pattern with a zero-length restriction No functional difference, but `length "0"` is more comprehensible. Suggested-by: Christian Hopps Signed-off-by: Igor Ryzhov (cherry picked from commit 405ebe45cf111376fe33bad45b4ec836e0157d9f) --- diff --git a/yang/frr-nexthop.yang b/yang/frr-nexthop.yang index 2df2e2958e..adcbacbfea 100644 --- a/yang/frr-nexthop.yang +++ b/yang/frr-nexthop.yang @@ -61,7 +61,7 @@ module frr-nexthop { type union { type inet:ip-address; type string { - pattern ""; + length "0"; } } }