summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/dm_coa.c
diff options
context:
space:
mode:
authorroot <root@debian11-vyos-build.polycomm.net>2021-12-28 15:35:08 +0300
committerroot <root@debian11-vyos-build.polycomm.net>2021-12-28 15:35:08 +0300
commit2bbeb7eb0a56ea34a8a3d2f7aba81836bcb50835 (patch)
tree787e81f06a776d0fe200402bf97769040eb1763c /accel-pppd/radius/dm_coa.c
parent2804a115fc2cd0d785d9a6dcb0be247c97c32d69 (diff)
downloadaccel-ppp-2bbeb7eb0a56ea34a8a3d2f7aba81836bcb50835.tar.gz
accel-ppp-2bbeb7eb0a56ea34a8a3d2f7aba81836bcb50835.zip
These changes are in response to PR comments
Diffstat (limited to 'accel-pppd/radius/dm_coa.c')
-rw-r--r--accel-pppd/radius/dm_coa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/radius/dm_coa.c b/accel-pppd/radius/dm_coa.c
index a8386715..e88cc347 100644
--- a/accel-pppd/radius/dm_coa.c
+++ b/accel-pppd/radius/dm_coa.c
@@ -337,9 +337,9 @@ static void init(void)
return;
}
- if ( !conf_dm_coa_vrf_default && ( 0 > setsockopt(serv.hnd.fd, SOL_SOCKET, SO_BINDTODEVICE, conf_dm_coa_vrf_name, strlen(conf_dm_coa_vrf_name)) ) )
+ if ( !conf_dm_coa_bind_default && ( 0 > setsockopt(serv.hnd.fd, SOL_SOCKET, SO_BINDTODEVICE, conf_dm_coa_bind_device, strlen(conf_dm_coa_bind_device)) ) )
{
- log_emerg("radius:dm_coa: failed set vrf '%s' in setsockopt: %s\n", conf_dm_coa_vrf_name, strerror(errno));
+ log_emerg("radius:dm_coa: failed set bind device '%s' in setsockopt: %s\n", conf_dm_coa_bind_device, strerror(errno));
close(serv.hnd.fd);
return;
}