summaryrefslogtreecommitdiff
path: root/usr.sbin/ldomd
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-10-20 16:18:37 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-10-20 16:18:37 +0000
commit1855e98dbefc31c50cb4146152441a571eb06ac8 (patch)
treee9be47b316009ccc5217aaade5251eefc395873d /usr.sbin/ldomd
parent178df45752e42545ac20a102d2a6f7029d038a82 (diff)
Print LDC protocol version in debug message.
Diffstat (limited to 'usr.sbin/ldomd')
-rw-r--r--usr.sbin/ldomd/ds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldomd/ds.c b/usr.sbin/ldomd/ds.c
index 2211f358143..0be1c72c15b 100644
--- a/usr.sbin/ldomd/ds.c
+++ b/usr.sbin/ldomd/ds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ds.c,v 1.8 2018/07/13 08:46:07 kettenis Exp $ */
+/* $OpenBSD: ds.c,v 1.9 2019/10/20 16:18:36 kettenis Exp $ */
/*
* Copyright (c) 2012 Mark Kettenis
@@ -79,7 +79,7 @@ ldc_rx_ctrl_vers(struct ldc_conn *lc, struct ldc_pkt *lp)
lc->lc_state));
return;
}
- DPRINTF(("CTRL/INFO/VERS\n"));
+ DPRINTF(("CTRL/INFO/VERS %d.%d\n", lvp->major, lvp->minor));
if (lvp->major == LDC_VERSION_MAJOR &&
lvp->minor == LDC_VERSION_MINOR)
ldc_send_ack(lc);