mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 17:58:07 +02:00
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:
parent
097fe9bfa6
commit
da96e54116
@ -811,7 +811,11 @@ find_interface_by_address() {
|
|||||||
|
|
||||||
find_interface_by_mac() {
|
find_interface_by_mac() {
|
||||||
local 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
|
ip link list | while read first second rest; do
|
||||||
case $first in
|
case $first in
|
||||||
|
@ -1300,7 +1300,15 @@ reload_command() # $* = original arguments less the command.
|
|||||||
export_command() # $* = original arguments less the command.
|
export_command() # $* = original arguments less the command.
|
||||||
{
|
{
|
||||||
local verbose
|
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
|
while [ $finished -eq 0 -a $# -gt 0 ]; do
|
||||||
option=$1
|
option=$1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user