FreeBSD Bugzilla – Attachment 216416 Details for
Bug 241013
ipfw: Silence firewall_logif on ipfw service restart
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Less destructive approach
ipfw4.patch (text/plain), 503 bytes, created by
Jose Luis Duran
on 2020-07-13 11:43:22 UTC
(
hide
)
Description:
Less destructive approach
Filename:
MIME Type:
Creator:
Jose Luis Duran
Created:
2020-07-13 11:43:22 UTC
Size:
503 bytes
patch
obsolete
>diff --git libexec/rc/rc.d/ipfw libexec/rc/rc.d/ipfw >index df14b7e..4079df9 100644 >--- libexec/rc/rc.d/ipfw >+++ libexec/rc/rc.d/ipfw >@@ -74,8 +74,11 @@ ipfw_start() > ${SYSCTL} net.inet.ip.fw.verbose=1 >/dev/null > fi > if checkyesno firewall_logif; then >- ifconfig ipfw0 create >- echo 'Firewall logging pseudo-interface (ipfw0) created.' >+ if ! ifconfig ipfw0 >/dev/null 2>&1; then >+ ifconfig ipfw0 create >+ echo 'Firewall logging pseudo-interface (ipfw0)' \ >+ 'created.' >+ fi > fi > } >
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 241013
:
208032
|
216277
|
216298
|
216416
|
216419