mirror of
https://github.com/heiher/natmap.git
synced 2026-05-07 22:17:17 +08:00
HevConf: Fix -c option not added to getopt
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user