#81 colinux-bridged-net-daemon.exe called with wrong parameter

closed-fixed
Henry N.
None
5
2006-09-11
2006-01-04
No

Within src/colinux/user/daemon.c,
"colinux-bridged-net-daemon.exe" is called with
parameter "-i" for the colinux instance ID:

co_launch_process("colinux-bridged-net-daemon
-i %d -u %d %s -mac %s", daemon->id, i, interface_name,
mac_address);

However, the current implementation of
"colinux-bridged-net-daemon.exe"
(src/colinux/os/winnt/user/conet-bridged-daemon/
main.c) does not want the parameter "-i", but the
parameter "-c" for the colinux instance ID:

option = "-c";
if (strcmp(*param_scan, option) == 0) {
param_scan++;
if (!(*param_scan)) {

co_terminal_print("conet-bridged-daemon: parameter of
command line option %s not specified\n", option);
return CO_RC(ERROR);
}

start_parameters->instance =
(co_id_t) atoi(*param_scan);
param_scan++;
continue;
}

Thus, the current "colinux-bridged-net-daemon.exe"
won't work together with the current "colinux-daemon.exe".

("current" means the monotone repository
"425313909c448b5b30e5d1e34b1f18c72379e0ef
da-x@colinux.org 2005-10-13T13:51:10" as well as what
can be downloaded from
http://www.colinux.org/snapshots/devel-coLinux-20051013.exe
.)

Discussion

  • Henry N.

    Henry N. - 2006-01-18
    • status: open --> open-fixed
     
  • Henry N.

    Henry N. - 2006-01-18
    • assigned_to: nobody --> henryn
     
  • Henry N.

    Henry N. - 2006-09-11

    Logged In: YES
    user_id=579204

    was fixed on
    Revision: 7d378ce350349c11570cac7cce328965d9398c88
    Date: 2006-07-02T13:50:11
    Branch: org.colinux.devel

     
  • Henry N.

    Henry N. - 2006-09-11
    • status: open-fixed --> closed-fixed