Gitiles
Code Review
Sign In
192.168.1.100
/
T108
/
e958203796650e3959a43708d67534bf36f4c83b
/
.
/
external
/
subpack
/
net
/
freeradius3
/
patches
/
004-get-hostname-from-proc-in-radtest.patch
blob: e2cdfb9f75cfe6bf05da48e1bbd9a1fe7ddc7301 [
file
] [
log
] [
blame
]
---
a
/
src
/
main
/
radtest
.
in
+++
b
/
src
/
main
/
radtest
.
in
@@
-
112
,
7
+
112
,
7
@@
if
[
"$7"
]
then
nas
=
$7
else
-
nas
=
`hostname`
+
nas
=
$
(
cat
/
proc
/
sys
/
kernel
/
hostname
)
fi
(