X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=bgp%2Frib-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fprotocol%2Fbgp%2Frib%2Fimpl%2FBGPServerSessionNegotiator.java;h=cb61edd2d5d58f9ca44c07bd2c819e848f3e6865;hb=66b8611ab00a626167bf20556d7cbb5ec00ca124;hp=44a0d335ae2583c98917214d20983d61b7a52222;hpb=cf50e7d1be03f1ab87881bd90f1ec6fb356e508f;p=bgpcep.git diff --git a/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPServerSessionNegotiator.java b/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPServerSessionNegotiator.java index 44a0d335ae..cb61edd2d5 100644 --- a/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPServerSessionNegotiator.java +++ b/bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPServerSessionNegotiator.java @@ -5,14 +5,13 @@ * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ - package org.opendaylight.protocol.bgp.rib.impl; import io.netty.channel.Channel; import io.netty.util.concurrent.Promise; import org.opendaylight.protocol.bgp.rib.impl.spi.BGPPeerRegistry; import org.opendaylight.protocol.bgp.rib.impl.spi.BGPSessionPreferences; -import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address; +import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev180329.Open; /** @@ -26,12 +25,12 @@ public final class BGPServerSessionNegotiator extends AbstractBGPSessionNegotiat } @Override - protected Ipv4Address getSourceId(final Open openMsg, final BGPSessionPreferences preferences) { + protected Ipv4AddressNoZone getSourceId(final Open openMsg, final BGPSessionPreferences preferences) { return preferences.getBgpId(); } @Override - protected Ipv4Address getDestinationId(final Open openMsg, final BGPSessionPreferences preferences) { + protected Ipv4AddressNoZone getDestinationId(final Open openMsg, final BGPSessionPreferences preferences) { return openMsg.getBgpIdentifier(); } }