diff options
Diffstat (limited to 'accel-pppd/ppp/ipcp_opt_dns.c')
-rw-r--r-- | accel-pppd/ppp/ipcp_opt_dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ipcp_opt_dns.c b/accel-pppd/ppp/ipcp_opt_dns.c index 1ca8723..245960c 100644 --- a/accel-pppd/ppp/ipcp_opt_dns.c +++ b/accel-pppd/ppp/ipcp_opt_dns.c @@ -145,7 +145,7 @@ static void ev_dns(struct ev_dns_t *ev) struct dns_option_t *dns_opt; struct ppp_t *ppp; - if (ev->ses->ctrl->type == CTRL_TYPE_IPOE) + if (!ev->ses->ctrl->ppp) return; ppp = container_of(ev->ses, typeof(*ppp), ses); |