NETVIRT-1085: Fix regression in IPv6PeriodicTimer Unsolicited RAs 16/68216/2
authorSridhar Gaddam <sgaddam@redhat.com>
Tue, 13 Feb 2018 20:34:42 +0000 (02:04 +0530)
committerSam Hague <shague@redhat.com>
Wed, 14 Feb 2018 03:57:40 +0000 (03:57 +0000)
While addressing the findbugs in Ipv6Service (I635ff43cffded41c7a32079214cff48a057f4fac)
there was a regression introduced, where the periodic unsolicited RAs are no longer sent
out. This patch fixes this issue.

Change-Id: I73faf5d50b7237732675fcd951926ecf4a9b492d
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
vpnservice/ipv6service/impl/src/main/java/org/opendaylight/netvirt/ipv6service/utils/Ipv6PeriodicTrQueue.java

index ab27c50c90e738ad8712b3d516c73c11cf057332..c79b329157f721d80b7607ba210707020c26fd0c 100644 (file)
@@ -34,6 +34,7 @@ public class Ipv6PeriodicTrQueue implements AutoCloseable {
 
     public Ipv6PeriodicTrQueue(Consumer<Uuid> onMessage) {
         this.onMessage = onMessage;
+        init();
     }
 
     public void init() {