Current tcpdump(8) does not emit this warning:
# sysctl -n kern.version
OpenBSD 6.6-current (GENERIC.MP) #200: Thu Jan 30 07:08:22 MST 2020
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
# ifconfig enc0
enc0: flags=41<UP,RUNNING>
index 21 priority 0 llprio 3
groups: enc
status: active
# tcpdump -envps 1500 -i enc0 -l
tcpdump: listening on enc0, link-type ENC
OK?
Index: enc.4
===================================================================
RCS file: /cvs/src/share/man/man4/enc.4,v
retrieving revision 1.29
diff -u -p -r1.29 enc.4
--- enc.4 16 Feb 2015 16:38:54 -0000 1.29
+++ enc.4 15 Feb 2020 21:05:43 -0000
@@ -108,7 +108,6 @@ interface to see packets prior to encaps
For example:
.Bd -literal -offset 3n
# tcpdump -envps 1500 -i enc0 -l | grep 10.0.0.33
-tcpdump: WARNING: enc0: no IPv4 address assigned
tcpdump: listening on enc0, link-type ENC
15:05:08.934708 (authentic,confidential): SPI 0x6bcac587: \e
172.25.0.45 > 1.2.3.4: 10.9.9.28.7001 > 10.0.0.33.7000: \e