Fix for rather stupid bug by which you couldn't set
ports for the destination IP addr/port. Nobody reported this btw , while a lot of other things reported- probably ppl does not use destination ports at all????
This commit is contained in:
parent
9d86998fd6
commit
c5bdd3a729
@ -403,9 +403,6 @@ if (*av==NULL || !strncmp(*av,CH_AC,strlen(CH_AC))) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
int get_num(str,tab)
|
||||
char *str;
|
||||
char tab[][MAXSTR];
|
||||
@ -665,6 +662,10 @@ int p_num=0,ir=0;
|
||||
if (ir)
|
||||
flags|=IP_FW_F_DRNG;
|
||||
}
|
||||
|
||||
if (*(++av)==NULL)
|
||||
goto no_tail;
|
||||
|
||||
no_dst_ports:
|
||||
if (strncmp(*av,S_SEP3,strlen(S_SEP3))) {
|
||||
show_usage();
|
||||
|
Loading…
Reference in New Issue
Block a user