]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/tymo/dymo/DymoTableM.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / lib / net / tymo / dymo / DymoTableM.nc
index d0e00dd8610b62fadc26219c5dbbde01d7c39c28..7467d3c793c0ede5cd2e2aca7ef480b63631d2b8 100644 (file)
@@ -252,6 +252,13 @@ implementation {
     }
   }
 
+  event void LinkMonitor.refreshedLink(addr_t neighbor) {
+    int8_t i = get_route(neighbor);
+    if (i != -1) {
+      replace_info(i, &table[i].info);
+    }
+  }
+
   void replace_info(uint8_t pos, const rt_info_t * route_info){
     table[pos].info = *route_info;
     table[pos].flags = FLAG_NEW;