aboutsummaryrefslogtreecommitdiffstats
path: root/sysgen/sysgen.go
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-02-06 19:27:17 +0100
committerAndrey Konovalov <andreyknvl@google.com>2017-02-06 20:24:49 +0100
commitb4bdefbe9be8d3d502db5e775aa85cd5c38463db (patch)
tree4cc87b8d0761a80a1796edccde72eda2584f6dab /sysgen/sysgen.go
parent0fc888220a6b32ba7903f1907e8c2cc64d1df3a1 (diff)
prog, sys: add icmp descriptions and checksum
Diffstat (limited to 'sysgen/sysgen.go')
-rw-r--r--sysgen/sysgen.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysgen/sysgen.go b/sysgen/sysgen.go
index 918c6d847..e88710d56 100644
--- a/sysgen/sysgen.go
+++ b/sysgen/sysgen.go
@@ -507,8 +507,8 @@ func generateArg(
size, bigEndian, bitfieldLen := decodeIntType(a[1])
var kind string
switch a[0] {
- case "ipv4":
- kind = "CsumIPv4"
+ case "inet":
+ kind = "CsumInet"
case "tcp":
kind = "CsumTCP"
case "udp":