mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-20 15:43:16 +00:00
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
df523897ea
commit
b048172ee5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79953
@ -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