projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
680d10a
)
NAS-Port should be 32bits
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Mon, 5 Oct 2015 14:16:45 +0000
(10:16 -0400)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Mon, 5 Oct 2015 14:16:57 +0000
(10:16 -0400)
src/main/auth.c
patch
|
blob
|
history
diff --git
a/src/main/auth.c
b/src/main/auth.c
index
e99eba0
..
10a0a3e
100644
(file)
--- a/
src/main/auth.c
+++ b/
src/main/auth.c
@@
-38,7
+38,7
@@
char *auth_name(char *buf, size_t buflen, REQUEST *request, bool do_cli)
{
VALUE_PAIR *cli;
VALUE_PAIR *pair;
- uint
16_t port = 0;
+ uint
32_t port = 0; /* RFC 2865 NAS-Port is 4 bytes */
char const *tls = "";
if ((cli = fr_pair_find_by_num(request->packet->vps, PW_CALLING_STATION_ID, 0, TAG_ANY)) == NULL) {