Fix typo for TCP checksum offload feature
authorXiao Jia <stfairy@gmail.com>
Wed, 28 Oct 2015 00:36:36 +0000 (17:36 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 Nov 2015 17:00:38 +0000 (12:00 -0500)
Signed-off-by: Xiao Jia <stfairy@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/net/netif.c

index 837cb67..e4d0ceb 100644 (file)
@@ -307,7 +307,7 @@ netifread(struct ether *nif, struct chan *c, void *a, long n,
                        if (nif->feat & NETF_UDPCK)
                                j += snprintf(p + j, READSTR - j, "udpck ");
                        if (nif->feat & NETF_TCPCK)
-                               j += snprintf(p + j, READSTR - j, "tcppck ");
+                               j += snprintf(p + j, READSTR - j, "tcpck ");
                        if (nif->feat & NETF_PADMIN)
                                j += snprintf(p + j, READSTR - j, "padmin ");
                        if (nif->feat & NETF_SG)