1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-01-11 23:52:54 +00:00

Merge pull request #55 from PDP-10/ch11-default-pcap

Default ifmeth=pcap
This commit is contained in:
Rhialto The M 2021-07-06 19:09:25 +02:00 committed by GitHub
commit d891e8290d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -452,8 +452,8 @@ ch11_conf(FILE *f, char *s, struct ch11 *ch)
fprintf(f, "CH11 assuming \"chudp\" interface method\n");
ch->ch_ifmeth = s_dup("chudp");
} else {
fprintf(f, "CH11 does not know which interface method to use, none specified?\n");
return FALSE;
fprintf(f, "CH11 assuming \"pcap\" interface method since no chudp parameters given\n");
ch->ch_ifmeth = s_dup("pcap");
}
return ret;

View File

@ -62,7 +62,8 @@ For "chudp":
Global Chaosnet and just list its central router. See
https://chaosnet.net.)
If chudpport or chip parameters are given, the ifmeth defaults to chudp.
If chudpport or chip parameters are given, the ifmeth defaults to chudp,
otherwise to pcap.
If a CHUDP packet is received from an unknown host, a Chaos/IP mapping
is dynamically added to the table, so return traffic can find its way.