[arpwatch.conf] eth0.1 ==> eth0 (buxfix)
This commit is contained in:
parent
55fca8804a
commit
84da529ae2
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
# -*- coding: utf-8; mode: python -*-
|
# -*- coding: utf-8; mode: python -*-
|
||||||
header("Fichier gere par Bcfg2 (module Python) !")
|
|
||||||
|
|
||||||
info["owner"] = "root"
|
info["owner"] = "root"
|
||||||
info["group"] = "root"
|
info["group"] = "root"
|
||||||
|
@ -22,6 +21,6 @@ info["perms"] = 0644
|
||||||
include("arpwatch")
|
include("arpwatch")
|
||||||
for vlan in watched_vlans:
|
for vlan in watched_vlans:
|
||||||
iface = 'eth0'
|
iface = 'eth0'
|
||||||
if vlan <> 0:
|
if vlan <> 1:
|
||||||
iface += '.%d' % vlan
|
iface += '.%d' % vlan
|
||||||
print("%s -m root@crans.org" % iface)
|
print("%s -m root@crans.org" % iface)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue