Yet more fixes to last large patch

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8293 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-03-14 03:33:32 +00:00
parent 097fe9bfa6
commit da96e54116
2 changed files with 14 additions and 2 deletions

View File

@ -811,7 +811,11 @@ find_interface_by_address() {
find_interface_by_mac() {
local mac
mac=$1 first second rest dev
mac=$1
local first
local second
local rest
local dev
ip link list | while read first second rest; do
case $first in

View File

@ -1300,7 +1300,15 @@ reload_command() # $* = original arguments less the command.
export_command() # $* = original arguments less the command.
{
local verbose
verbose=$(make_verbose) file= finished=0 directory target compiler=
verbose=$(make_verbose)
local file
file=
local finished
finished=0
local directory
local target
local compiler
compiler=
while [ $finished -eq 0 -a $# -gt 0 ]; do
option=$1