Files
openwrt-packages/net/freeradius3/patches/004-get-hostname-from-proc-in-radtest.patch
Paul Donald 1b1aa825a2 freeradius3: bump to 3.2.8
Closes #28161

Resolves runtime openssl error

Patches refreshed

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2025-12-28 09:57:08 +02:00

12 lines
205 B
Diff

--- a/src/main/radtest.in
+++ b/src/main/radtest.in
@@ -117,7 +117,7 @@ if [ "$7" ]
then
nas=$7
else
- nas=`(hostname || uname -n) 2>/dev/null | sed 1q`
+ nas=$(cat /proc/sys/kernel/hostname)
fi
(