Re: ipv6-toolkit: fix for -fno-common

2021-02-21 Thread Alexander Bluhm
On Mon, Feb 22, 2021 at 01:07:05AM +0100, Jeremie Courreges-Anglas wrote: > I've never used those tools on OpenBSD before, do they actually work? > scan6 -i iwm0 -L doesn't print anything here for example. scan6 -i em0 -L works for me. These tools are not production quality. Fernando Gont asked

ipv6-toolkit: fix for -fno-common

2021-02-21 Thread Jeremie Courreges-Anglas
As reported by naddy@ this fails to build after clang switched to -fno-common. --8<-- ===> Building for ipv6toolkit-2.0p0 cc -O2 -pipe -Wall -c -o libipv6.o tools/libipv6.c cc -O2 -pipe -Wall -o addr6 tools/addr6.c libipv6.o -lpcap -lm cp tools/blackhole6 ./ cc -O2 -pipe -Wall -o flow6 tool