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:
Ugen J.S. Antsilevich 1995-02-14 08:28:27 +00:00
parent f0dbdbbf11
commit 8f6466e847
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6371

View File

@ -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();