Verify that interfaces in the providers file are known; unify 'optional' settings

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7680 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2007-11-17 16:48:25 +00:00
parent 43bde8c079
commit 8673ac70dd
4 changed files with 84 additions and 23 deletions

View File

@@ -918,11 +918,9 @@ find_mac() # $1 = IP address, $2 = interface
\<*\>)
;;
*)
[ -n "$result" ] && echo $result && return
[ -n "$result" ] && echo $result
;;
esac
fatal_error "Cannot determine the MAC address of $1 through $2"
}
################################################################################