diff options
author | Kozlov Dmitry <dima@server> | 2010-11-09 10:34:42 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-11-09 10:34:42 +0300 |
commit | 1396b7c22bbd319fc22ee420c14cdb69f8d5203c (patch) | |
tree | b4fd2adf4ed9de0ce355b26ca8211880a539e97f /accel-pptpd/radius/dm_coa.c | |
parent | 0791b410d7465e2ef70345261d45340e3504381d (diff) | |
download | accel-ppp-1396b7c22bbd319fc22ee420c14cdb69f8d5203c.tar.gz accel-ppp-1396b7c22bbd319fc22ee420c14cdb69f8d5203c.zip |
radius: DM/CoA nas identification by NAS-Identifier or NAS-IP-Address or both
Diffstat (limited to 'accel-pptpd/radius/dm_coa.c')
-rw-r--r-- | accel-pptpd/radius/dm_coa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/radius/dm_coa.c b/accel-pptpd/radius/dm_coa.c index 16b1f88a..e66a3b39 100644 --- a/accel-pptpd/radius/dm_coa.c +++ b/accel-pptpd/radius/dm_coa.c @@ -263,7 +263,7 @@ static void __init init(void) addr.sin_family = AF_INET; addr.sin_port = htons (PD_COA_PORT); if (conf_nas_ip_address) - addr.sin_addr.s_addr = inet_addr(conf_nas_ip_address); + addr.sin_addr.s_addr = conf_nas_ip_address; else addr.sin_addr.s_addr = htonl (INADDR_ANY); if (bind (serv.hnd.fd, (struct sockaddr *) &addr, sizeof (addr)) < 0) { |