<div>Hi All,</div>
<div>&nbsp;</div>
<div>I am trying to access one of the member functions of current AreaRouter instance from within xrl_target.cc in xorp/ospf folder. (ospfv2)</div>
<div>&nbsp;</div>
<div>By the way, it seems like every ospf router is created as an area router (?)</div>
<div>&nbsp;</div>
<div>I try to use following command within a function in xrl_target.cc to get a reference to the current AreaRouter instance:</div>
<div>&nbsp;</div>
<div>&nbsp;_ospf.get_peer_manager().get_area_router(area);</div>
<div>&nbsp;</div>
<div>However, how can I find the area router ID (area) to give get_area_router() function as a parameter ?</div>
<div>&nbsp;</div>
<div>or</div>
<div>&nbsp;</div>
<div>Is there any other way to do that ?</div>
<div>&nbsp;</div>
<div>Thanks.</div>
<div>Selcuk</div>