diff options
Diffstat (limited to 'pkg/tcpip/tcpip_state_autogen.go')
-rw-r--r-- | pkg/tcpip/tcpip_state_autogen.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/tcpip/tcpip_state_autogen.go b/pkg/tcpip/tcpip_state_autogen.go index 66cad60db..a50f49a2f 100644 --- a/pkg/tcpip/tcpip_state_autogen.go +++ b/pkg/tcpip/tcpip_state_autogen.go @@ -14,6 +14,7 @@ func (so *SocketOptions) StateFields() []string { return []string{ "broadcastEnabled", "passCredEnabled", + "noChecksumEnabled", } } @@ -23,6 +24,7 @@ func (so *SocketOptions) StateSave(stateSinkObject state.Sink) { so.beforeSave() stateSinkObject.Save(0, &so.broadcastEnabled) stateSinkObject.Save(1, &so.passCredEnabled) + stateSinkObject.Save(2, &so.noChecksumEnabled) } func (so *SocketOptions) afterLoad() {} @@ -30,6 +32,7 @@ func (so *SocketOptions) afterLoad() {} func (so *SocketOptions) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &so.broadcastEnabled) stateSourceObject.Load(1, &so.passCredEnabled) + stateSourceObject.Load(2, &so.noChecksumEnabled) } func (f *FullAddress) StateTypeName() string { |