summaryrefslogtreecommitdiff
path: root/accel-pppd/session.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2015-11-22 12:42:10 +0300
committerDmitry Kozlov <xeb@mail.ru>2015-12-04 21:30:40 +0300
commit939ff04fb80605e688720f64c824be3d21dad07e (patch)
tree474b80eb4aef7c33070b2d2255ad5ce7cf2a6405 /accel-pppd/session.c
parentbf84f9763ca3b6f018774b2b1664e838e119b028 (diff)
downloadaccel-ppp-939ff04fb80605e688720f64c824be3d21dad07e.tar.gz
accel-ppp-939ff04fb80605e688720f64c824be3d21dad07e.zip
preparation for DPDK intergation (part 2)
Diffstat (limited to 'accel-pppd/session.c')
-rw-r--r--accel-pppd/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/session.c b/accel-pppd/session.c
index f68ce7b7..6f7972d5 100644
--- a/accel-pppd/session.c
+++ b/accel-pppd/session.c
@@ -89,7 +89,7 @@ int __export ap_session_starting(struct ap_session *ses)
memset(&ifr, 0, sizeof(ifr));
strcpy(ifr.ifr_name, ses->ifname);
- if (ioctl(sock_fd, SIOCGIFINDEX, &ifr)) {
+ if (net->sock_ioctl(SIOCGIFINDEX, &ifr)) {
log_ppp_error("ioctl(SIOCGIFINDEX): %s\n", strerror(errno));
return -1;
}