/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to network-hooks.d/bridge

Updated year in copyright notices.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
CONFIG="$MANDOSNETHOOKDIR/bridge.conf"
17
17
 
18
18
addrtoif(){
19
 
    grep -liFe "$1" /sys/class/net/*/address | sed -e 's,.*/\([^/]*\)/[^/]*,\1,'
 
19
    grep -liFe "$1" /sys/class/net/*/address \
 
20
        | sed -e 's,.*/\([^/]*\)/[^/]*,\1,'
20
21
}
21
22
 
22
23
# Read config file, which must set "BRIDGE", "PORT_ADDRESSES", and