Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 294847 Details for
Bug 393243
net-firewall/ipset-6.9.1-r2 fails to stop if list:set includes other sets
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ipset.initd.diff
ipset.initd.diff (text/plain), 785 bytes, created by
Andrew Savchenko
on 2011-12-05 10:52:33 UTC
(
hide
)
Description:
ipset.initd.diff
Filename:
MIME Type:
Creator:
Andrew Savchenko
Created:
2011-12-05 10:52:33 UTC
Size:
785 bytes
patch
obsolete
>--- ipset.initd-r1 2011-11-11 02:32:56.000000000 +0400 >+++ ipset.initd-r2 2011-12-05 14:07:39.895113111 +0400 >@@ -30,7 +30,14 @@ > > stop() { > # check if there are any references to current sets >- if ! ipset list | gawk '($1 == "References:" && $2 > 0) { exit 1 }'; then >+ >+ if ! ipset list | gawk ' >+ ($1 == "References:") { refcnt += $2 } >+ ($1 == "Type:" && $2 == "list:set") { set = 1 } >+ (scan) { if ($0 != "") setcnt++; else { scan = 0; set = 0 } } >+ (set && $1 == "Members:") {scan = 1} >+ END { if ((refcnt - setcnt) > 0) exit 1 } >+ '; then > eerror "ipset is in use, can't stop" > return 1 > fi >@@ -40,6 +47,7 @@ > fi > > ebegin "Removing kernel IP sets" >+ ipset flush > ipset destroy > eend $? > }
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 393243
: 294847