fixed a bug that 'ip6addrctl delete' command does not work
obtained from: KAME
This commit is contained in:
parent
aef03e952d
commit
e04499a772
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123714
@ -87,7 +87,7 @@ main(argc, argv)
|
||||
if (argc < 5)
|
||||
usage();
|
||||
add_policy(argv[2], argv[3], argv[4]);
|
||||
} else if (strcasecmp(argv[0], "delete") == 0) {
|
||||
} else if (strcasecmp(argv[1], "delete") == 0) {
|
||||
if (argc < 3)
|
||||
usage();
|
||||
delete_policy(argv[2]);
|
||||
|
Loading…
Reference in New Issue
Block a user