]> git.sur5r.net Git - ngadmin/blobdiff - emu/src/emu.c
Handle ports duplex mode
[ngadmin] / emu / src / emu.c
index 8526ca3c60e0e9ea2ee27d070f2dc2b1961f7662..ecf8d6f6e1def2712ac4c3cfc81869ad3e56d155 100644 (file)
@@ -505,7 +505,7 @@ int main (int argc, char **argv)
        swi.ports = malloc(swi.ports_count * sizeof(struct port_info));
        memset(swi.ports, 0, swi.ports_count * sizeof(struct port_info));
        for (p = 0; p < swi.ports_count; p++) {
-               swi.ports[p].state = SPEED_1000;
+               swi.ports[p].state = SPEED_1000_FD;
                swi.ports[p].pvid = 1;
                swi.ports[p].bitrate_in = BITRATE_NOLIMIT;
                swi.ports[p].bitrate_out = BITRATE_NOLIMIT;