Package: fping
Version: 2.4b2-to-ipv6-16
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD.
It is due to non-portable change

  * Added interface binding (-I) for fping
    Patch by Peter Naulls <pe...@mushroomnetworks.com>
    Closes: #439014

Please guard it similarly as shown bellow

Thanks in advance

                        Petr
--- a/fping.c
+++ b/fping.c
@@ -687,13 +687,13 @@
                                usage();
                        src_addr_present = 1;
                        break;
-
+#ifdef SO_BINDTODEVICE
                case 'I':
                        if (setsockopt(s, SOL_SOCKET, SO_BINDTODEVICE, optarg,
                                   strlen(optarg)))
                                err(1, "setsockopt(AF_INET, SO_BINDTODEVICE)");
                        break;
-
+#endif
                case 'T':
                        if ( ! ( select_time = ( u_int )atoi( optarg ) * 100 ) )
                                usage();




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to