>Очень помог
>без него не пашит Напишите пожалуйста как пропатчить у меня не чего не выходит.
freebsd 5.3-STABLE делаю так
захожу в деректорию "usr/src/sys/netinet/"
с файлом ip_output.c
делаю
# patch < /путь/к/файлу/патча
Это текст файла патча
Index: ip_output.c
===================================================================
RCS file: /FreeBSD-CVS/src/sys/netinet/ip_output.c,v
retrieving revision 1.225.2.3
diff -u -b -r1.225.2.3 ip_output.c
--- ip_output.c15 Sep 2004 15:07:09 -00001.225.2.3
+++ ip_output.c19 Sep 2004 15:51:42 -0000
@@ -713,7 +713,7 @@
/* Or forward to some other address? */
fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL);
if (fwd_tag) {
-if (!in_localip(ip->ip_src) && !in_localaddr(ip->ip_dst)) {
+if (!in_localaddr(ip->ip_dst)) {
dst = (struct sockaddr_in *)&ro->ro_dst;
bcopy((fwd_tag+1), dst, sizeof(struct sockaddr_in));
m->m_flags |= M_SKIP_FIREWALL;
вот что пишет
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: ip_output.c
|===================================================================
|RCS file: /FreeBSD-CVS/src/sys/netinet/ip_output.c,v
|retrieving revision 1.225.2.3
|diff -u -b -r1.225.2.3 ip_output.c
|--- ip_output.c15 Sep 2004 15:07:09 -00001.225.2.3
|+++ ip_output.c19 Sep 2004 15:51:42 -0000
--------------------------
Patching file ip_output.c using Plan A...
Hunk #1 failed at 713.
1 out of 1 hunks failed--saving rejects to ip_output.c.rej
Hmm... Ignoring the trailing garbage.
done
Помогите!!!!