From 1396b7c22bbd319fc22ee420c14cdb69f8d5203c Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Tue, 9 Nov 2010 10:34:42 +0300 Subject: radius: DM/CoA nas identification by NAS-Identifier or NAS-IP-Address or both --- accel-pptpd/radius/dm_coa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pptpd/radius/dm_coa.c') diff --git a/accel-pptpd/radius/dm_coa.c b/accel-pptpd/radius/dm_coa.c index 16b1f88..e66a3b3 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) { -- cgit v1.2.3