Compare commits
3 Commits
v0.0.30-mu
...
v0.0.32-mu
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d60f28a7fe | ||
|
|
32069eb104 | ||
|
|
a6adcefc25 |
2
mud
2
mud
Submodule mud updated: a1ba274fbf...104bc68266
10
src/main.c
10
src/main.c
@@ -362,12 +362,14 @@ int main (int argc, char **argv)
|
||||
|
||||
if (mud_is_up(mud)) {
|
||||
if (!started) {
|
||||
state("STARTED", NULL);
|
||||
state("STARTED", tun_name);
|
||||
started = 1;
|
||||
}
|
||||
} else if (started) {
|
||||
state("STOPPED", NULL);
|
||||
started = 0;
|
||||
} else {
|
||||
if (started) {
|
||||
state("STOPPED", tun_name);
|
||||
started = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (FD_ISSET(tun_fd, &rfds)) {
|
||||
|
||||
Reference in New Issue
Block a user