summaryrefslogtreecommitdiff
path: root/src/etc/dhcp/dhclient-enter-hooks.d/04-vyos-resolvconf
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-25 20:57:37 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-25 20:58:18 +0200
commit9b268012252a4fe6f253177830abde950e2773b5 (patch)
tree68d826e4f4cdd32593da24f3550dea57b0678992 /src/etc/dhcp/dhclient-enter-hooks.d/04-vyos-resolvconf
parent818a75c024e4b4c0403ccfe782fb55517f390bef (diff)
downloadvyos-1x-9b268012252a4fe6f253177830abde950e2773b5.tar.gz
vyos-1x-9b268012252a4fe6f253177830abde950e2773b5.zip
ifconfig: T2912: add helper to verify interface min/max supported MTU
Currently the MTU size of an interface is only checked when entered via CLI but if the interface supportes the configured MTU at all is not verified at all. New helper functions get_min_mtu(), get_max_mtu() and verify_mtu() have been added to provide a central API for validation.
Diffstat (limited to 'src/etc/dhcp/dhclient-enter-hooks.d/04-vyos-resolvconf')
0 files changed, 0 insertions, 0 deletions