summaryrefslogtreecommitdiff
path: root/yang
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-10-05 13:27:39 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-10-05 14:03:37 +0300
commit405ebe45cf111376fe33bad45b4ec836e0157d9f (patch)
tree2f7d907402b6a8dd3c6972f934752105c017c173 /yang
parent31df775552690649ab769c57ed796a9de82fa22b (diff)
yang: replace an empty pattern with a zero-length restriction
No functional difference, but `length "0"` is more comprehensible. Suggested-by: Christian Hopps <chopps@labn.net> Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-nexthop.yang2
1 files changed, 1 insertions, 1 deletions
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";
}
}
}