You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
535 B
17 lines
535 B
diff --git a/service/OneService.cpp b/service/OneService.cpp |
|
index a1c53764..757863a8 100644 |
|
--- a/service/OneService.cpp |
|
+++ b/service/OneService.cpp |
|
@@ -2244,6 +2244,12 @@ public: |
|
#endif |
|
syncManagedStuff(n,true,true); |
|
n.tap->setMtu(nwc->mtu); |
|
+#if defined(ZT_SDK) |
|
+ // Inform the virtual tap of the update |
|
+ if (op == ZT_VIRTUAL_NETWORK_CONFIG_OPERATION_CONFIG_UPDATE) { |
|
+ n.tap->lastConfigUpdate(OSUtils::now()); |
|
+ } |
|
+#endif |
|
} else { |
|
_nets.erase(nwid); |
|
return -999; // tap init failed
|
|
|