NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 4224


Ignore:
Timestamp:
Aug 11, 2009, 1:46:16 PM (8 years ago)
Author:
bless
Message:
  • use of copy() instead of new nli()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ntlp/trunk/src/ntlp_statemodule_api.cpp

    r4210 r4224  
    827827          if (!r_entry->dmode)
    828828          {
    829             // install Routing State
    830             param.rt.add_ma(new nli(*r_entry->nl), *peer, r_entry->ma_hold_time, true);
     829            // install Routing State, note that add_ma will store the address as IPv6
     830            param.rt.add_ma(r_entry->nl->copy(), *peer, r_entry->ma_hold_time, true);
    831831          }
    832832          networknotification(r_key, r_entry, APIMsg::route_changed_status_good, false);
Note: See TracChangeset for help on using the changeset viewer.