Revision e5171922 common.sh

b/common.sh
148 148
function setup_ebtables {
149 149

  
150 150
  # do not allow changes in ip-mac pair
151
  if [ -n "$IP"]; then
152
    runlocked $RUNLOCKED_OPTS ebtables -A $FROM --ip-source \! $IP -p ipv4 -j DROP
151
  if [ -n "$IP" ]; then
152
    :; # runlocked $RUNLOCKED_OPTS ebtables -A $FROM --ip-source \! $IP -p ipv4 -j DROP
153 153
  fi
154 154
  runlocked $RUNLOCKED_OPTS ebtables -A $FROM -s \! $MAC -j DROP
155 155
  # accept dhcp responses from host (nfdhcpd)

Also available in: Unified diff