You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
673 B

Index: sysdep/bsd/krt-sock.c
--- sysdep/bsd/krt-sock.c.orig 2009-10-02 10:08:51 +0200
+++ sysdep/bsd/krt-sock.c 2010-01-14 20:16:03 +0100
@@ -172,8 +172,10 @@
case RTD_DEVICE:
if(i)
{
+#ifdef RTF_CLONING
if (cmd == RTM_ADD && (i->flags & IF_MULTIACCESS) != IF_MULTIACCESS) /* PTP */
msg.rtm.rtm_flags |= RTF_CLONING;
+#endif
if(!i->addr) {
log(L_ERR "KIF: interface \"%s\" has no IP addess", i->name);
Index: sysdep/unix/krt.c
--- sysdep/unix/krt.c.orig 2009-06-28 09:33:51 +0200
+++ sysdep/unix/krt.c 2010-01-14 20:15:46 +0100
@@ -701,6 +701,7 @@
return;
}
#endif
+ break;
}
rte_free(e);
}