FreeBSD Bugzilla – Attachment 98416 Details for
Bug 137335
net/balance rc.d script should not force binding to a single interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.36 KB, created by
Hans Hoppe
on 2009-08-01 16:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Hans Hoppe
Created:
2009-08-01 16:50:01 UTC
Size:
1.36 KB
patch
obsolete
>--- balance.sh.in.orig 2008-11-01 13:34:48.000000000 +0100 >+++ balance.sh.in 2009-08-01 16:43:59.000000000 +0200 >@@ -38,8 +38,11 @@ > eval flags=\"\${balance_${host}_flags}\" > eval address=\"\${balance_${host}_address}\" > eval targets=\"\${balance_${host}_targets}\" >+ if [ "" != "${address}" ]; then >+ flags="${flags} -b ${address}" >+ fi > for port in ${ports}; do >- "${command}" ${flags} -b ${address} ${port} ${targets} >+ "${command}" ${flags} ${port} ${targets} > done > done > fi >@@ -51,9 +54,15 @@ > for host in ${balance_hosts}; do > eval ports=\"\${balance_${host}_ports}\" > eval address=\"\${balance_${host}_address}\" >+ flags="" >+ if [ "" != "${address}" ]; then >+ flags="-b ${address}" >+ else >+ address='*' >+ fi > for port in ${ports}; do > echo "balance at ${address}:${port}" >- "${command}" -b ${address} -c kill ${port} >+ "${command}" ${flags} -c kill ${port} > done > done > fi >@@ -65,9 +74,15 @@ > for host in ${balance_hosts}; do > eval ports=\"\${balance_${host}_ports}\" > eval address=\"\${balance_${host}_address}\" >+ flags="" >+ if [ "" != "${address}" ]; then >+ flags="-b ${address}" >+ else >+ address='*' >+ fi > for port in ${ports}; do > echo "balance at ${address}:${port}" >- "${command}" -b ${address} -c show ${port} >+ "${command}" ${flags} -c show ${port} > done > done > 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 137335
: 98416