diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-17 18:36:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 18:36:02 +0100 |
commit | bbd8c90755c664cfd8492f5d5efb70dbd8c84639 (patch) | |
tree | bd99d6c7fef274f3644f6335d1e110eae8987df5 | |
parent | 0afa8dd813195b43f7ac3c9f0c11fdc8dae31668 (diff) | |
parent | 2da78b428243bc5e4761372db601559bae865299 (diff) | |
download | vyos-1x-bbd8c90755c664cfd8492f5d5efb70dbd8c84639.tar.gz vyos-1x-bbd8c90755c664cfd8492f5d5efb70dbd8c84639.zip |
Merge pull request #2843 from sarthurdev/T5948
dhcp: T5948: Strip trailing dot from hostnames
-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 |