Increment `i' in case of -S so that its argument isn't treated as
another, unknown option. Submitted by: Naoki Kobayashi <shibata@geo.titech.ac.jp> and Harti Brandt <brandt@fokus.gmd.de>, respectively. Pointy hat to: dd
This commit is contained in:
parent
6f6246ae29
commit
2d7f264cbd
@ -416,7 +416,7 @@ char **argv;
|
||||
else if (strcmp("-s", argv[i]) == 0)
|
||||
ypsecuremode++;
|
||||
else if (strcmp("-S", argv[i]) == 0 && argc > i)
|
||||
yp_restricted_mode(argv[i+1]);
|
||||
yp_restricted_mode(argv[++i]);
|
||||
else if (strcmp("-m", argv[i]) == 0)
|
||||
yp_manycast++;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user