-/* $OpenBSD: bgpctl.c,v 1.286 2022/10/17 16:51:36 claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.287 2022/10/18 09:30:29 job Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
/* safi, 1 byte */
memcpy(&safi, p, sizeof(safi));
if (afi2aid(afi, safi, &aid) == -1)
- printf("unkown afi %u safi %u", afi, safi);
+ printf("unknown afi %u safi %u", afi, safi);
else
printf("%s", aid2str(aid));
}
len -= capa_len;
}
if (len != 0) {
- printf("length missmatch while capability parsing");
+ printf("length mismatch while capability parsing");
return (-1);
}
return (totlen);
-/* $OpenBSD: mrtparser.c,v 1.18 2022/08/17 15:16:12 claudio Exp $ */
+/* $OpenBSD: mrtparser.c,v 1.19 2022/10/18 09:30:29 job Exp $ */
/*
* Copyright (c) 2011 Claudio Jeker <claudio@openbsd.org>
*
case MSG_PROTOCOL_OSPFV3_ET:
case MSG_PROTOCOL_OSPFV3:
if (verbose)
- printf("unsuported MRT type %d\n",
+ printf("unsupported MRT type %d\n",
ntohs(h.type));
break;
case MSG_TABLE_DUMP:
goto fail;
break;
default:
- errx(1, "unknonw subtype %hd", ntohs(hdr->subtype));
+ errx(1, "unknown subtype %hd", ntohs(hdr->subtype));
}
/* adjust length */
-/* $OpenBSD: kroute.c,v 1.300 2022/09/21 21:12:03 claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.301 2022/10/18 09:30:29 job Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
}
if (send_network(IMSG_NETWORK_ADD, net, attr) == -1)
- log_warnx("%s: faild to send network update", __func__);
+ log_warnx("%s: failed to send network update", __func__);
return 1;
}
free(r);
if (send_network(IMSG_NETWORK_REMOVE, net, NULL) == -1)
- log_warnx("%s: faild to send network removal", __func__);
+ log_warnx("%s: failed to send network removal", __func__);
}
int
-/* $OpenBSD: rtr.c,v 1.7 2022/08/31 11:25:36 claudio Exp $ */
+/* $OpenBSD: rtr.c,v 1.8 2022/10/18 09:30:29 job Exp $ */
/*
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
/* run the expire timeout every EXPIRE_TIMEOUT seconds */
timeout = timer_nextduein(&expire_timer, getmonotime());
if (timeout == -1)
- fatalx("roa-set expire timer no longer runnning");
+ fatalx("roa-set expire timer no longer running");
memset(pfd, 0, sizeof(struct pollfd) * pfd_elms);