mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 11:40:31 -04:00
- Update to 0.9.8 - Switch to fetch from GitHub because they don't provide tarballs anymore - Fix portlint warnings - Fix some GNUisms (cp -t) - Fix compile error when RTF_CLONING is not defined PR: 240563 Submitted by: myself Approved by: Nikola Kolev <koue@chaosophia.net> (maintainer) MFH: 2019Q4
12 lines
383 B
C
12 lines
383 B
C
--- src/bsd/kernel_routes.c.orig 2019-08-11 08:09:47 UTC
|
|
+++ src/bsd/kernel_routes.c
|
|
@@ -351,7 +351,9 @@ add_del_route6(const struct rt_entry *rt, int add)
|
|
memcpy(walker, &sdl, sizeof(sdl));
|
|
walker += sdl_size;
|
|
rtm->rtm_addrs |= RTA_GATEWAY;
|
|
+#ifdef RTF_CLONING
|
|
rtm->rtm_flags |= RTF_CLONING;
|
|
+#endif /* RTF_CLONING */
|
|
rtm->rtm_flags &= ~RTF_GATEWAY;
|
|
}
|
|
|