diff --git a/mud b/mud index 22d6178..c612a07 160000 --- a/mud +++ b/mud @@ -1 +1 @@ -Subproject commit 22d61780fd0492785d05625612b469476d8220bc +Subproject commit c612a0772ec938717bf1fa9968a5bbba2c0fc137 diff --git a/src/main.c b/src/main.c index 880c9c7..13ff725 100644 --- a/src/main.c +++ b/src/main.c @@ -386,8 +386,6 @@ int main (int argc, char **argv) fd_set rfds; FD_ZERO(&rfds); - int started = 0; - struct { unsigned char *buf; } send, recv; @@ -443,18 +441,6 @@ int main (int argc, char **argv) } } - if (mud_is_up(mud)) { - if (!started) { - state_send(gt.state_fd, "STARTED", tun_name); - started = 1; - } - } else { - if (started) { - state_send(gt.state_fd, "STOPPED", tun_name); - started = 0; - } - } - if (FD_ISSET(tun_fd, &rfds)) { while (send_size