diff options
-rw-r--r-- | usr.sbin/rtadvd/config.c | 10 | ||||
-rw-r--r-- | usr.sbin/rtadvd/rtadvd.c | 4 | ||||
-rw-r--r-- | usr.sbin/rtadvd/rtadvd.h | 8 |
3 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c index 2105d507868..23c0084eb90 100644 --- a/usr.sbin/rtadvd/config.c +++ b/usr.sbin/rtadvd/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.47 2016/02/05 11:26:26 reyk Exp $ */ +/* $OpenBSD: config.c,v 1.48 2016/02/08 23:15:37 jca Exp $ */ /* $KAME: config.c,v 1.62 2002/05/29 10:13:10 itojun Exp $ */ /* @@ -190,7 +190,7 @@ getconfig(char *intface) * useful to allow hosts to advertise some parameters such as prefix * information and link MTU. Thus, we allow hosts to invoke rtadvd * only when router lifetime (on every advertising interface) is - * explicitly set zero. (see also the above section) + * explicitely set to zero. (see also the above section) */ if (val && forwarding == 0) { log_warnx("non zero router lifetime is specified for %s, " @@ -622,8 +622,8 @@ makeentry(char *buf, size_t len, int id, char *string) * Add a prefix to the list of specified interface and reconstruct * the outgoing packet. * The prefix must not be in the list. - * XXX: other parameter of the prefix(e.g. lifetime) shoule be - * able to be specified. + * XXX: other parameters of the prefix (e.g. lifetime) ought + * to be specified. */ static void add_prefix(struct rainfo *rai, struct in6_prefixreq *ipr) @@ -883,7 +883,7 @@ make_packet(struct rainfo *rainfo) pfx->pltimeexpire - now.tv_sec : 0); if (vltime < pltime) { /* - * this can happen if vltime is decrement but pltime + * this can happen if vltime is decremented but pltime * is not. */ pltime = vltime; diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c index 8bb1a07e71e..98b9518eeb2 100644 --- a/usr.sbin/rtadvd/rtadvd.c +++ b/usr.sbin/rtadvd/rtadvd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtadvd.c,v 1.64 2016/02/07 21:10:33 jca Exp $ */ +/* $OpenBSD: rtadvd.c,v 1.65 2016/02/08 23:15:37 jca Exp $ */ /* $KAME: rtadvd.c,v 1.66 2002/05/29 14:18:36 itojun Exp $ */ /* @@ -838,7 +838,7 @@ ra_input(int len, struct nd_router_advert *ra, retranstimer = ntohl(ra->nd_ra_retransmit); if (retranstimer && rai->retranstimer && retranstimer != rai->retranstimer) { - log_info("RetranceTimer inconsistent on %s:" + log_info("RetransTimer inconsistent on %s:" " %d from %s, %d from us", rai->ifname, retranstimer, inet_ntop(AF_INET6, &from->sin6_addr, diff --git a/usr.sbin/rtadvd/rtadvd.h b/usr.sbin/rtadvd/rtadvd.h index 5ff7d67ee8d..f55da8d64f5 100644 --- a/usr.sbin/rtadvd/rtadvd.h +++ b/usr.sbin/rtadvd/rtadvd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rtadvd.h,v 1.18 2015/11/30 21:04:15 jca Exp $ */ +/* $OpenBSD: rtadvd.h,v 1.19 2016/02/08 23:15:37 jca Exp $ */ /* $KAME: rtadvd.h,v 1.20 2002/05/29 10:13:10 itojun Exp $ */ /* @@ -74,7 +74,7 @@ struct prefix { u_int onlinkflg; /* bool: AdvOnLinkFlag */ u_int autoconfflg; /* bool: AdvAutonomousFlag */ int prefixlen; - int origin; /* from kernel or cofig */ + int origin; /* from kernel or config */ struct in6_addr prefix; }; @@ -158,7 +158,7 @@ struct rainfo { int rdnsscnt; /* number of rdnss entries */ TAILQ_HEAD(dnssllist, dnssl) dnssls; int dnsslcnt; - long clockskew; /* used for consisitency check of lifetimes */ + long clockskew; /* used for consistency check of lifetimes */ /* actual RA packet data and its length */ @@ -172,7 +172,7 @@ struct rainfo { u_quad_t rsinput; /* number of RSs received */ /* info about soliciter */ - SLIST_HEAD(, soliciter) soliciters; /* recent solication source */ + SLIST_HEAD(, soliciter) soliciters; /* recent solicitation source */ }; SLIST_HEAD(ralist, rainfo); |