]> git.ipfire.org Git - people/ms/network.git/commitdiff
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 99a8baa375d513f0b664cd3d7e838d8127bdff87..c542bb5f35c2f45a296a9ff5d4aeea0ad3fcbce6 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}"