Hi NS users,
I have a problem on getting a pointer to the link layer at the MAC.

I added the following to the Mac802_11::command(){
else if(strcmp(argv[1], "up-target") == 0){
                       ll_ = (LL *) TclObject::lookup(argv[2]);
       return Mac::command(argc, argv);

The add-interface in ns-mobilenode.tcl says
$mac up-target $ll

I get a segfault, I wonder what went wrong. Any clue ??


Reply via email to