summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-08-27 12:25:22 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-08-29 12:12:09 +0400
commit36cc9c11a194be371dad562df8b2eff548586749 (patch)
tree8333a0a8cf6769790a9ec306c964c3a372c4d7c1 /accel-pppd/ppp
parentebbd6f580322767983ebf6b4049924d7e2de642f (diff)
downloadaccel-ppp-36cc9c11a194be371dad562df8b2eff548586749.tar.gz
accel-ppp-36cc9c11a194be371dad562df8b2eff548586749.zip
fix various typos
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r--accel-pppd/ppp/ppp.c4
-rw-r--r--accel-pppd/ppp/ppp_ifcfg.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/ppp/ppp.c b/accel-pppd/ppp/ppp.c
index 9a006676..116e1349 100644
--- a/accel-pppd/ppp/ppp.c
+++ b/accel-pppd/ppp/ppp.c
@@ -126,7 +126,7 @@ int __export establish_ppp(struct ppp_t *ppp)
}
if (fcntl(ppp->unit_fd, F_SETFL, O_NONBLOCK)) {
- log_ppp_error("ppp: cann't to set nonblocking mode: %s\n", strerror(errno));
+ log_ppp_error("ppp: cannot set nonblocking mode: %s\n", strerror(errno));
goto exit_close_unit;
}
}
@@ -137,7 +137,7 @@ int __export establish_ppp(struct ppp_t *ppp)
}
if (fcntl(ppp->chan_fd, F_SETFL, O_NONBLOCK)) {
- log_ppp_error("ppp: cann't to set nonblocking mode: %s\n", strerror(errno));
+ log_ppp_error("ppp: cannot set nonblocking mode: %s\n", strerror(errno));
goto exit_close_unit;
}
diff --git a/accel-pppd/ppp/ppp_ifcfg.c b/accel-pppd/ppp/ppp_ifcfg.c
index bcad3f4b..aa2aff7b 100644
--- a/accel-pppd/ppp/ppp_ifcfg.c
+++ b/accel-pppd/ppp/ppp_ifcfg.c
@@ -98,7 +98,7 @@ void ppp_ifup(struct ppp_t *ppp)
ifr6.ifr6_ifindex = ppp->ifindex;
if (ioctl(sock6_fd, SIOCSIFADDR, &ifr6))
- log_ppp_error("ppp: faild to set LL IPv6 address: %s\n", strerror(errno));
+ log_ppp_error("ppp: failed to set LL IPv6 address: %s\n", strerror(errno));
list_for_each_entry(a, &ppp->ses.ipv6->addr_list, entry) {
if (a->prefix_len == 128)