diff options
Diffstat (limited to 'src/Cedar/Protocol.c')
-rw-r--r-- | src/Cedar/Protocol.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Cedar/Protocol.c b/src/Cedar/Protocol.c index 1d7045fc..fbc86576 100644 --- a/src/Cedar/Protocol.c +++ b/src/Cedar/Protocol.c @@ -1653,6 +1653,10 @@ bool ServerAccept(CONNECTION *c) if (hub->Option != NULL)
{
radius_login_opt.In_CheckVLanId = hub->Option->AssignVLanIdByRadiusAttribute;
+ if (hub->Option->UseHubNameAsRadiusNasId == true)
+ {
+ StrCpy(radius_login_opt.NasId, sizeof(radius_login_opt.NasId), hubname);
+ }
}
// Get the various flags
|