summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip_state_autogen.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-18 18:22:53 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-18 18:22:53 +0000
commit38e95b7a0943ef013f72de2e004af96fbf50883a (patch)
tree78b933e606bac1a2125473bb2bbe302f5bd4345a /pkg/tcpip/tcpip_state_autogen.go
parent89d431b577df59d1f3bf52e2c21c4b54d60cb9db (diff)
parentfc342fb43960e5f75103e727cd122479e015d321 (diff)
Merge release-20201109.0-71-gfc342fb43 (automated)
Diffstat (limited to 'pkg/tcpip/tcpip_state_autogen.go')
-rw-r--r--pkg/tcpip/tcpip_state_autogen.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/tcpip/tcpip_state_autogen.go b/pkg/tcpip/tcpip_state_autogen.go
index 09aeb0f74..66cad60db 100644
--- a/pkg/tcpip/tcpip_state_autogen.go
+++ b/pkg/tcpip/tcpip_state_autogen.go
@@ -13,6 +13,7 @@ func (so *SocketOptions) StateTypeName() string {
func (so *SocketOptions) StateFields() []string {
return []string{
"broadcastEnabled",
+ "passCredEnabled",
}
}
@@ -21,12 +22,14 @@ func (so *SocketOptions) beforeSave() {}
func (so *SocketOptions) StateSave(stateSinkObject state.Sink) {
so.beforeSave()
stateSinkObject.Save(0, &so.broadcastEnabled)
+ stateSinkObject.Save(1, &so.passCredEnabled)
}
func (so *SocketOptions) afterLoad() {}
func (so *SocketOptions) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &so.broadcastEnabled)
+ stateSourceObject.Load(1, &so.passCredEnabled)
}
func (f *FullAddress) StateTypeName() string {