summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-05-29 14:23:17 -0700
committerShentubot <shentubot@google.com>2018-05-29 14:24:07 -0700
commitc5dc873e441706e8aaff7389e26c862f1386c6a8 (patch)
treeb29bb76081379a2aec47fe3ea3d666423a4de45b /pkg/tcpip/tcpip.go
parenta8b90a7158d4197428639c912d97f3bdbaf63f5a (diff)
Automated rollback of changelist 196886839
PiperOrigin-RevId: 198457660 Change-Id: I6ea5cf0b4cfe2b5ba455325a7e5299880e5a088a
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r--pkg/tcpip/tcpip.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go
index cf25a086d..fdeba6bc4 100644
--- a/pkg/tcpip/tcpip.go
+++ b/pkg/tcpip/tcpip.go
@@ -85,17 +85,6 @@ var (
errSubnetAddressMasked = errors.New("subnet address has bits set outside the mask")
)
-// ErrSaveRejection indicates a failed save due to unsupported networking state.
-// This type of errors is only used for save logic.
-type ErrSaveRejection struct {
- Err error
-}
-
-// Error returns a sensible description of the save rejection error.
-func (e ErrSaveRejection) Error() string {
- return "save rejected due to unsupported networking state: " + e.Err.Error()
-}
-
// A Clock provides the current time.
//
// Times returned by a Clock should always be used for application-visible