Your message dated Sat, 27 May 2023 05:04:07 +0000
with message-id <[email protected]>
and subject line Bug#1036316: Removed package(s) from unstable
has caused the Debian Bug report #227454,
regarding vrrpd doesn't work properly with bonded interfaces
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
227454: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=227454
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vrrpd
Version: 0.7-2

vrrpd selects only one interface of a bonded pair for handling its multicast 
packets, and it will not necessarily be an active one.  This patch makes it 
select the correct interface to work with.

--- vrrpd.orig/vrrpd-0.7/vrrpd.c        Thu Apr  3 22:48:57 2003
+++ vrrpd/vrrpd-0.7/vrrpd.c     Wed Oct 22 11:16:40 2003
@@ -43,6 +43,7 @@
 #include <assert.h>
 #include <net/ethernet.h>
 #include <netinet/ip.h>
+#include <linux/sockios.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <signal.h>
@@ -1501,7 +1502,7 @@
 ****************************************************************/
 static int open_sock( vrrp_rt *vsrv )
 {
-  struct  ip_mreq req;
+  struct  ip_mreqn req;
   int  ret;
   /* open the socket */
   if (vsrv->vif.auth_type == VRRP_AUTH_AH)
@@ -1518,9 +1519,10 @@
   /* join the multicast group */
   memset( &req, 0, sizeof (req));
   req.imr_multiaddr.s_addr = htonl(INADDR_VRRP_GROUP);
-  req.imr_interface.s_addr = htonl(vsrv->vif.ipaddr);
+  req.imr_address.s_addr = htonl(vsrv->vif.ipaddr);
+  req.imr_ifindex = ifname_to_idx(vsrv->vif.ifname);
   ret = setsockopt (vsrv->sockfd, IPPROTO_IP, IP_ADD_MEMBERSHIP,
-             (char *) &req, sizeof (struct ip_mreq));
+             (char *) &req, sizeof (struct ip_mreqn));
   if( ret < 0 ){
     int  err = errno;
     VRRP_LOG(("cant do IP_ADD_MEMBERSHIP errno=%d\n",err));



--- End Message ---
--- Begin Message ---
Version: 1.0-2+rm

Dear submitter,

as the package vrrpd has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1036316

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to