From da22624da74340bc875bc54f32db3b5b4dfaac5d Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Mon, 4 Apr 2016 15:20:18 +0300 Subject: vlan_mon: introduced autoclean module parameter if autoclean=1 then vlan_mon will delete all vlan interfaces created by previous accel-pppd run f.e. vlan_mon cleans created interfaces if accel-pppd restarts --- accel-pppd/vlan-mon/vlan_mon.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'accel-pppd/vlan-mon') diff --git a/accel-pppd/vlan-mon/vlan_mon.c b/accel-pppd/vlan-mon/vlan_mon.c index c243b7a9..0f1b12a9 100644 --- a/accel-pppd/vlan-mon/vlan_mon.c +++ b/accel-pppd/vlan-mon/vlan_mon.c @@ -190,8 +190,6 @@ void vlan_mon_clean() ghdr = NLMSG_DATA(&req.n); ghdr->cmd = VLAN_MON_CMD_DEL; - addattr32(nlh, 1024, VLAN_MON_ATTR_IFINDEX, -1); - rtnl_talk(&rth, nlh, 0, 0, nlh, NULL, NULL, 0); rtnl_close(&rth); -- cgit v1.2.3