}
void device_enable(void) {
+ if (devops.enable)
+ devops.enable();
+
/* Run tinc-up script to further initialize the tap interface */
char *envp[5] = {NULL};
for(int i = 0; i < 4; i++)
free(envp[i]);
+
+ if (devops.disable)
+ devops.disable();
}
/*