HevConf: Fix -c option not added to getopt

This commit is contained in:
Anya Lin
2025-03-02 20:07:36 +08:00
committed by hev
parent 87302559f5
commit f8bb0fec44

View File

@@ -79,7 +79,7 @@ hev_conf_init (int argc, char *argv[])
int opt;
struct sockaddr_in6 sa;
while ((opt = getopt (argc, argv, "46udk:s:h:e:f:b:T:t:p:i:")) != -1) {
while ((opt = getopt (argc, argv, "46udk:c:s:h:e:f:b:T:t:p:i:")) != -1) {
switch (opt) {
case '4':
type = AF_INET;