The first character of the argument of the new config option "sentmode" will be used as the transfert mode in ?lo files ("^" is the default). --- a/ifgate/ifpack.c +++ b/ifgate/ifpack.c @@ -42,6 +42,7 @@ extern char *pkdname(faddr *,char); extern char *logname; extern int fakeoutbound; +extern char *sentmode; static int each1(faddr*,char,int,char*); static int each2(faddr*,char,int,char*); @@ -435,7 +436,7 @@ char *pktfn; } if (dosoutbound) { - fprintf(fp,"#%s",dosoutbound); + fprintf(fp,"%c%s",sentmode[0],dosoutbound); if (*(dosoutbound+ strlen(dosoutbound)-1) != '\\') fputc('\\',fp); @@ -446,7 +447,7 @@ char *pktfn; fputc('\r',fp); fputc('\n',fp); } - else fprintf(fp,"#%s\n",arcfn); + else fprintf(fp,"%c%s\n",sentmode[0],arcfn); needadd=0; } }