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
@@ -362,13 +362,15 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
if (mud_is_up(mud)) {
|
if (mud_is_up(mud)) {
|
||||||
if (!started) {
|
if (!started) {
|
||||||
state("STARTED", NULL);
|
state("STARTED", tun_name);
|
||||||
started = 1;
|
started = 1;
|
||||||
}
|
}
|
||||||
} else if (started) {
|
} else {
|
||||||
state("STOPPED", NULL);
|
if (started) {
|
||||||
|
state("STOPPED", tun_name);
|
||||||
started = 0;
|
started = 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (FD_ISSET(tun_fd, &rfds)) {
|
if (FD_ISSET(tun_fd, &rfds)) {
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user