opnsense-ports/net/mgen/files/patch-protolib_unix_bsdRouteMgr.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
516 B
C++

--- protolib/unix/bsdRouteMgr.cpp.orig 2009-05-08 18:44:06.000000000 -0300
+++ protolib/unix/bsdRouteMgr.cpp 2009-05-08 18:44:35.000000000 -0300
@@ -255,7 +255,7 @@
} // end if(mask[i] is set)
} // end for(i=0..RTAX_MAX)
if (dst.IsValid() &&
- (0 == (rtm->rtm_flags & RTF_WASCLONED)))
+ (0 == (rtm->rtm_flags)))
{
if (prefixLen < 0) prefixLen = dst.GetLength() << 3;
if (0 == (rtm->rtm_flags & RTF_GATEWAY)) gw.Invalidate();