]> git.gsnw.org Git - fping.git/commit
Fix build with --disable-ipv6
authorLars Wendler <polynomial-c@gentoo.org>
Sun, 12 Jul 2020 11:55:44 +0000 (13:55 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Sun, 12 Jul 2020 12:00:52 +0000 (14:00 +0200)
commit54e97d9e393e375820e9c6ca0a56c7a4092ea5de
treec323f66be075ed8cdabff48c6c755b9398a1c858
parent08c83453f3dab3fde0f783875cdc3f31bc80faf3
Fix build with --disable-ipv6

Otherwise build breaks with:

fping.c:399:14: error: ‘ident6’ undeclared (first use in this function); did you mean ‘ident4’?
  399 |     ident4 = ident6 = getpid() & 0xFFFF;
      |              ^~~~~~
      |              ident4

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
src/fping.c