Revision 8212c64f net.c

b/net.c
1159 1159
        return;
1160 1160
    }
1161 1161

  
1162
    opts = qemu_opts_parse(&qemu_net_opts, opts_str ? opts_str : "", NULL);
1162
    opts = qemu_opts_parse(&qemu_net_opts, opts_str ? opts_str : "", 0);
1163 1163
    if (!opts) {
1164 1164
        monitor_printf(mon, "parsing network options '%s' failed\n",
1165 1165
                       opts_str ? opts_str : "");
......
1364 1364
    }
1365 1365
#endif
1366 1366

  
1367
    if (!qemu_opts_parse(opts_list, optarg, "type")) {
1367
    if (!qemu_opts_parse(opts_list, optarg, 1)) {
1368 1368
        return -1;
1369 1369
    }
1370 1370

  

Also available in: Unified diff