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>
This commit is contained in:
Igor Ryzhov 2021-10-05 13:27:39 +03:00
parent 31df775552
commit 405ebe45cf
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ module frr-nexthop {
type union {
type inet:ip-address;
type string {
pattern "";
length "0";
}
}
}