summaryrefslogtreecommitdiff
path: root/src/user/app/netstack/ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/netstack/ipv4.c')
-rw-r--r--src/user/app/netstack/ipv4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/user/app/netstack/ipv4.c b/src/user/app/netstack/ipv4.c
index 3243d3c..1336dc1 100644
--- a/src/user/app/netstack/ipv4.c
+++ b/src/user/app/netstack/ipv4.c
@@ -148,7 +148,8 @@ static void fragmented_free(struct fragmented *inc) {
static void ipv4_dispatch(const uint8_t *buf, size_t len, struct ipv4 ip) {
switch (ip.proto) {
case 0x01: icmp_parse(buf, len, ip); break;
- case 0x11: udp_parse(buf, len, ip); break;
+ case 0x06: tcp_parse(buf, len, ip); break;
+ case 0x11: udp_parse(buf, len, ip); break;
}
}