diff --git a/source/org/jivesoftware/smack/XMPPConnection.java b/source/org/jivesoftware/smack/XMPPConnection.java index 4c67fdf4c..0044d66c2 100644 --- a/source/org/jivesoftware/smack/XMPPConnection.java +++ b/source/org/jivesoftware/smack/XMPPConnection.java @@ -532,19 +532,6 @@ public class XMPPConnection { return isUsingTLS(); } - /** - * Returns the local network address of the socket used to connect to the server, or - * null if not currently connected to the server. - * - * @return the local address for the socket used to connect to the server. - */ - public InetAddress getLocalNetworkAddress() { - if (socket == null || !socket.isConnected()) { - return null; - } - return socket.getLocalAddress(); - } - /** * Returns true if currently authenticated by successfully calling the login method. *