]> git.proxmox.com Git - mirror_frr.git/commitdiff
2004-08-19 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Thu, 19 Aug 2004 04:45:33 +0000 (04:45 +0000)
committerpaul <paul>
Thu, 19 Aug 2004 04:45:33 +0000 (04:45 +0000)
        * irdp_main.c: update to match sockopt renames.
        * irdp_packet.c: include sockopt.h and update to match sockopt
  renames.

zebra/ChangeLog
zebra/irdp_main.c
zebra/irdp_packet.c

index 5adcbceecbb4ff6a611819db311e0fa6b3cdd393..0b54f29a63cdafdc3fa8fb1170714290edc5c552 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-19 Paul Jakma <paul@dishone.st>
+
+        * irdp_main.c: update to match sockopt renames.
+        * irdp_packet.c: include sockopt.h and update to match sockopt
+         renames.
+                
 2004-08-11  Greg Troxel  <gdt@fnord.ir.bbn.com>
 
        * rtadv.c (rtadv_send_packet): Allocate space for control messages
index fd56c881093a140acf48b96334a6841bd2a27beb..f711d8521c77cd17c790060e99a5e64d16ef7386 100644 (file)
@@ -124,7 +124,7 @@ irdp_sock_init (void)
     return ret;
   };
   
-  ret = setsockopt_pktinfo_ipv4 (irdp_sock, 1);
+  ret = setsockopt_pktinfo (AF_INET, irdp_sock, 1);
   if (ret < 0) {
     zlog_warn ("IRDP: can't do irdp sockopt %s", strerror(errno));
     return ret;
index e881ef937c10277921ea2b2aa7aab9f436596de3..8cd3dad659b6a509caa6c95fe9b70fec6ebcd19f 100644 (file)
@@ -61,7 +61,7 @@
 #include "if.h"
 #include "sockunion.h"
 #include "log.h"
-
+#include "sockopt.h"
 
 
 /* GLOBAL VARS */
@@ -214,7 +214,7 @@ int irdp_recvmsg (int sock,
     return ret;
   }
 
-  ifindex = getsockopt_pktinfo_ifindex (AF_INET, &msg);
+  ifindex = getsockopt_ifindex (AF_INET, &msg);
 
   return ret;
 }