vlan: Drop ebtables stuff
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Jun 2019 10:30:48 +0000 (12:30 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Jun 2019 10:30:48 +0000 (12:30 +0200)
We no longer have ebtables

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.vlan

index 99a8baa..c542bb5 100644 (file)
@@ -24,19 +24,6 @@ PROC_NET_VLAN_CONFIG="${PROC_NET_VLAN}/config"
 
 VLAN_PORT_INTERFIX="v"
 
-vlan_init() {
-       ebtables-restore <<EOF
-*filter
-:INPUT ACCEPT
-:FORWARD ACCEPT
-:OUTPUT ACCEPT
-
-*broute
-:BROUTING ACCEPT
--A BROUTING -p 802_1Q -j DROP
-EOF
-}
-
 vlan_create() {
        local device="${1}"
        shift
@@ -90,9 +77,6 @@ vlan_create() {
                return ${EXIT_ERROR}
        fi
 
-       # Load ebtables stuff.
-       vlan_init
-
        # Make the command
        local command=(
                ip link add link "${parent}" name "${device}"