Signed-off-by: Cory Snider <csnider@mirantis.com>
| ... | ... |
@@ -82,6 +82,3 @@ func (proxy *SCTPProxy) Close() { proxy.listener.Close() }
|
| 82 | 82 |
|
| 83 | 83 |
// FrontendAddr returns the SCTP address on which the proxy is listening. |
| 84 | 84 |
func (proxy *SCTPProxy) FrontendAddr() net.Addr { return proxy.frontendAddr }
|
| 85 |
- |
|
| 86 |
-// BackendAddr returns the SCTP proxied address. |
|
| 87 |
-func (proxy *SCTPProxy) BackendAddr() net.Addr { return proxy.backendAddr }
|
| ... | ... |
@@ -78,6 +78,3 @@ func (proxy *TCPProxy) Close() { proxy.listener.Close() }
|
| 78 | 78 |
|
| 79 | 79 |
// FrontendAddr returns the TCP address on which the proxy is listening. |
| 80 | 80 |
func (proxy *TCPProxy) FrontendAddr() net.Addr { return proxy.frontendAddr }
|
| 81 |
- |
|
| 82 |
-// BackendAddr returns the TCP proxied address. |
|
| 83 |
-func (proxy *TCPProxy) BackendAddr() net.Addr { return proxy.backendAddr }
|
| ... | ... |
@@ -150,9 +150,6 @@ func (proxy *UDPProxy) Close() {
|
| 150 | 150 |
// FrontendAddr returns the UDP address on which the proxy is listening. |
| 151 | 151 |
func (proxy *UDPProxy) FrontendAddr() net.Addr { return proxy.frontendAddr }
|
| 152 | 152 |
|
| 153 |
-// BackendAddr returns the proxied UDP address. |
|
| 154 |
-func (proxy *UDPProxy) BackendAddr() net.Addr { return proxy.backendAddr }
|
|
| 155 |
- |
|
| 156 | 153 |
func isClosedError(err error) bool {
|
| 157 | 154 |
/* This comparison is ugly, but unfortunately, net.go doesn't export errClosing. |
| 158 | 155 |
* See: |