[arpwatch.conf] eth0.1 ==> eth0 (buxfix)

This commit is contained in:
Daniel STAN 2013-03-08 15:27:22 +01:00
parent 55fca8804a
commit 84da529ae2

View file

@ -1,5 +1,4 @@
# -*- coding: utf-8; mode: python -*-
header("Fichier gere par Bcfg2 (module Python) !")
info["owner"] = "root"
info["group"] = "root"
@ -22,6 +21,6 @@ info["perms"] = 0644
include("arpwatch")
for vlan in watched_vlans:
iface = 'eth0'
if vlan <> 0:
if vlan <> 1:
iface += '.%d' % vlan
print("%s -m root@crans.org" % iface)