summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dvmrpd')
-rw-r--r--usr.sbin/dvmrpd/dvmrpe.c4
-rw-r--r--usr.sbin/dvmrpd/probe.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/dvmrpd/dvmrpe.c b/usr.sbin/dvmrpd/dvmrpe.c
index c799e37e841..17071a5bc16 100644
--- a/usr.sbin/dvmrpd/dvmrpe.c
+++ b/usr.sbin/dvmrpd/dvmrpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvmrpe.c,v 1.23 2021/01/19 12:29:46 claudio Exp $ */
+/* $OpenBSD: dvmrpe.c,v 1.24 2024/04/23 13:34:51 jsg Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -314,7 +314,7 @@ dvmrpe_dispatch_rde(int fd, short event, void *bula)
ssize_t n;
int shut = 0;
- if (event & EV_READ) {
+ if (event & EV_READ) {
if ((n = imsg_read(ibuf)) == -1 && errno != EAGAIN)
fatal("imsg_read error");
if (n == 0) /* connection closed */
diff --git a/usr.sbin/dvmrpd/probe.c b/usr.sbin/dvmrpd/probe.c
index 98b803c8d4c..6a8d32a84a9 100644
--- a/usr.sbin/dvmrpd/probe.c
+++ b/usr.sbin/dvmrpd/probe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: probe.c,v 1.5 2023/06/26 10:08:56 claudio Exp $ */
+/* $OpenBSD: probe.c,v 1.6 2024/04/23 13:34:51 jsg Exp $ */
/*
* Copyright (c) 2005, 2006 Esben Norby <norby@openbsd.org>
@@ -115,7 +115,7 @@ recv_probe(struct iface *iface, struct in_addr src, u_int32_t src_ip,
if (nbr_id == iface->addr.s_addr) {
/* seen myself */
if (nbr->state < NBR_STA_2_WAY)
- nbr_fsm(nbr, NBR_EVT_2_WAY_RCVD);
+ nbr_fsm(nbr, NBR_EVT_2_WAY_RCVD);
break;
}
buf += sizeof(nbr_id);