Merge "Upgrade ietf-{inet,yang}-types to 2013-07-15"
[ovsdb.git] / southbound / southbound-impl / src / main / java / org / opendaylight / ovsdb / southbound / transactions / md / OvsdbBridgeUpdateCommand.java
index 6d7cd284c77073cf253e7ad039479268fe14eec2..01abf5cd325e336da71a635e3896eee120c7132f 100644 (file)
@@ -15,6 +15,7 @@ import com.google.common.base.Preconditions;
 import com.google.common.net.InetAddresses;
 import java.net.InetAddress;
 import java.net.NetworkInterface;
+import java.net.SocketException;
 import java.util.ArrayList;
 import java.util.Enumeration;
 import java.util.List;
@@ -370,7 +371,7 @@ public class OvsdbBridgeUpdateCommand extends AbstractTransactionCommand {
                             }
                         }
                     }
-                } catch (Exception e) {
+                } catch (SocketException e) {
                     LOG.warn("Error getting local ip address", e);
                 }
             }