diff options
author | Christian Hopps <chopps@labn.net> | 2024-01-14 13:35:00 +0100 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2024-01-14 13:38:25 +0100 |
commit | c68246c069aa4ff6db1f688c391ecdc82ae058ff (patch) | |
tree | 808087ad8ecce1f3792e22ba77391fcff3b2858e /lib/if.c | |
parent | Merge pull request #15152 from LabNConsulting/chopps/doc-mgmtd-convert-update (diff) | |
download | frr-c68246c069aa4ff6db1f688c391ecdc82ae058ff.tar.xz frr-c68246c069aa4ff6db1f688c391ecdc82ae058ff.zip |
yang: lib: interface MTUs can be larger than uint16
Technically changing a leaf from uint16 to uint32 is a NBC change; however,
increasing this to uint32 should not break anyone in reality.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/if.c')
-rw-r--r-- | lib/if.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1677,7 +1677,7 @@ lib_interface_state_mtu_get_elem(struct nb_cb_get_elem_args *args) { const struct interface *ifp = args->list_entry; - return yang_data_new_uint16(args->xpath, ifp->mtu); + return yang_data_new_uint32(args->xpath, ifp->mtu); } /* |