diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-01-17 18:20:54 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-01-17 18:20:54 +0100 |
commit | 2da78b428243bc5e4761372db601559bae865299 (patch) | |
tree | bd99d6c7fef274f3644f6335d1e110eae8987df5 /src/system | |
parent | 0afa8dd813195b43f7ac3c9f0c11fdc8dae31668 (diff) | |
download | vyos-1x-2da78b428243bc5e4761372db601559bae865299.tar.gz vyos-1x-2da78b428243bc5e4761372db601559bae865299.zip |
dhcp: T5948: Strip trailing dot from hostnames
Diffstat (limited to 'src/system')
-rwxr-xr-x | src/system/on-dhcp-event.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/on-dhcp-event.sh b/src/system/on-dhcp-event.sh index e1a9f1884..3c11105d4 100755 --- a/src/system/on-dhcp-event.sh +++ b/src/system/on-dhcp-event.sh @@ -63,7 +63,7 @@ case "$action" in client_ip=${!client_ip_var} client_mac=${!client_mac_var} - client_name=${!client_name_var} + client_name=${!client_name_var//./} client_subnet_id=${!client_subnet_id_var} if [ -z "$client_name" ]; then |