diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-05-03 10:47:40 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-05-03 10:47:40 +0200 |
commit | 1de9ca2de54d8f57557c4a4fa5994bac8ddec2fd (patch) | |
tree | 847f81dab93c9325f660f25481133eec859ce8b9 /sys/src/cmd/ndb | |
parent | 299cf4e4b9af90497a9ac1b9da0334f51a2d183f (diff) |
bring back il protocol support
Diffstat (limited to 'sys/src/cmd/ndb')
-rw-r--r-- | sys/src/cmd/ndb/cs.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/sys/src/cmd/ndb/cs.c b/sys/src/cmd/ndb/cs.c index fd6f0c51f..32bccff85 100644 --- a/sys/src/cmd/ndb/cs.c +++ b/sys/src/cmd/ndb/cs.c @@ -150,22 +150,23 @@ struct Network Network *next; }; -enum -{ - Ntcp = 0, +enum { + Ntcp = 1, }; /* * net doesn't apply to (r)udp, icmp(v6), or telco (for speed). */ Network network[] = { -[Ntcp] { "tcp", iplookup, iptrans, 0 }, - { "udp", iplookup, iptrans, 1 }, - { "icmp", iplookup, iptrans, 1 }, - { "icmpv6", iplookup, iptrans, 1 }, - { "rudp", iplookup, iptrans, 1 }, - { "ssh", iplookup, iptrans, 1 }, - { "telco", telcolookup, telcotrans, 1 }, + { "il", iplookup, iptrans, 0, 1, }, + { "tcp", iplookup, iptrans, 0, 0, }, + { "il", iplookup, iptrans, 0, 0, }, + { "udp", iplookup, iptrans, 1, 0, }, + { "icmp", iplookup, iptrans, 1, 0, }, + { "icmpv6", iplookup, iptrans, 1, 0, }, + { "rudp", iplookup, iptrans, 1, 0, }, + { "ssh", iplookup, iptrans, 1, 0, }, + { "telco", telcolookup, telcotrans, 1, 0, }, { 0 }, }; |