commit | 64c7956061500611061910067d76512afcd2ddb4 | [log] [tgz] |
---|---|---|
author | Ben Greear <greearb@candelatech.com> | Wed Dec 01 11:13:51 2010 -0800 |
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | Wed Dec 01 11:13:51 2010 -0800 |
tree | dd2e69e791d03f9207ef03b07269971c9f86a697 | |
parent | 3f0a7b4c4f0a6c5462ad55b7fa4445c2d485f435 [diff] |
Allow 'ip addr flush' to loop more than 10 times The default remains at 10 for backwards compatibility. For instance: # ip addr flush dev eth2 *** Flush remains incomplete after 10 rounds. *** # ip -l 20 addr flush dev eth2 *** Flush remains incomplete after 20 rounds. *** # ip -loops 0 addr flush dev eth2 # This is useful for getting rid of large numbers of IP addresses in scripts. Signed-off-by: Ben Greear <greearb@candelatech.com>