X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fprotocol_plugins%2Fopenflow%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2Fvendorextension%2Fv6extension%2FV6Match.java;h=9921e826fce147fc29e4440b9d07c6f068e2b294;hp=294da72bbdbe44f165b02e7bdc39e5b5d66d6b4d;hb=d192c699590d441eb96a697b9e8ab7a028f18860;hpb=38379f996f946943172a1c62a49c86bff1c444eb diff --git a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/vendorextension/v6extension/V6Match.java b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/vendorextension/v6extension/V6Match.java index 294da72bbd..9921e826fc 100644 --- a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/vendorextension/v6extension/V6Match.java +++ b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/vendorextension/v6extension/V6Match.java @@ -171,7 +171,7 @@ public class V6Match extends OFMatch implements Cloneable { address = InetAddress.getByAddress(ByteBuffer.allocate(4) .putInt(match.getNetworkSource()).array()); } catch (UnknownHostException e) { - e.printStackTrace(); + logger.error("",e); } this.setNetworkSource(address, null); } else { @@ -186,7 +186,7 @@ public class V6Match extends OFMatch implements Cloneable { address = InetAddress.getByAddress(ByteBuffer.allocate(4) .putInt(match.getNetworkDestination()).array()); } catch (UnknownHostException e) { - e.printStackTrace(); + logger.error("",e); } this.setNetworkDestination(address, null); } else { @@ -542,7 +542,7 @@ public class V6Match extends OFMatch implements Cloneable { match_len += 20; } } catch (UnknownHostException e) { - e.printStackTrace(); + logger.error("",e); } } else if (values[0].equals(STR_NW_SRC) || values[0].equals("ip_src")) { @@ -560,7 +560,7 @@ public class V6Match extends OFMatch implements Cloneable { match_len += 20; } } catch (UnknownHostException e) { - e.printStackTrace(); + logger.error("",e); } } else if (values[0].equals(STR_NW_PROTO)) { this.networkProtocol = U8.t(Short.valueOf(values[1]));