ALT Linux Bugzilla
– Attachment 1492 Details for
Bug 9583
исправление ошибки с iptables в вер.0.8.3-alt0.2
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Тривиальный патч
functions-fw.patch (text/plain), 1.14 KB, created by
Marat Khayrullin
on 2006-05-17 00:53:21 MSD
(
hide
)
Description:
Тривиальный патч
Filename:
MIME Type:
Creator:
Marat Khayrullin
Created:
2006-05-17 00:53:21 MSD
Size:
1.14 KB
patch
obsolete
>diff -ruN /etc/net/scripts/functions-fw.orig /etc/net/scripts/functions-fw >--- /etc/net/scripts/functions-fw.orig 2006-05-15 14:41:40 +0400 >+++ /etc/net/scripts/functions-fw 2006-05-17 00:17:29 +0400 >@@ -225,7 +225,7 @@ > for chain in "$table"/*; do > [ "`basename $chain`" = "loadorder" ] && continue > if [ -f "$chain" ] && [ -s "$chain" ]; then >- egrep -q "([^-]\b|^)$chain(\b[^-]|$)" < <(echo "$IPTABLES_SYSTEM_CHAINS") || >+ egrep -q "([^-]\b|^)`basename $chain`(\b[^-]|$)" < <(echo "$IPTABLES_SYSTEM_CHAINS") || > { > print_message "Creating chain `basename $chain` in table `basename $table`" > iptables_create_chain `basename $chain` -t `basename $table` >@@ -316,7 +316,7 @@ > for chain in "$table"/*; do > [ "`basename $chain`" = "loadorder" ] && continue > if [ -f "$chain" ] && [ -s "$chain" ] ; then >- egrep -q "([^-]\b|^)$chain(\b[^-]|$)" < <(echo "$IPTABLES_SYSTEM_CHAINS") || >+ egrep -q "([^-]\b|^)`basename $chain`(\b[^-]|$)" < <(echo "$IPTABLES_SYSTEM_CHAINS") || > { > print_message "Deleting chain `basename $chain` from table `basename $table`" > iptables_delete_chain `basename $chain` -t `basename $table`
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9583
: 1492