<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Forwarded Message ----<br>From: Nguyen Van Nam &lt;van_nam_78@yahoo.com&gt;<br>To: xorp-hackers@icir.org<br>Sent: Tuesday, July 29, 2008 11:16:20 AM<br>Subject: Problem with writing a xorp prorocess<br><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hello,<br>I have written a code source as in the following to detect LSDB change in OSPF protocol.<br>XrlStdRouter xrl_router(_ospf.get_eventloop(), "ospf_loopfree");<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //debug_msg("Waiting for router");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xrl_router.finalize();<br><br>&nbsp;&nbsp;&nbsp; XrlOspfLoopfreeV0p1Client xrl_ospf_loopfree_client(&amp;xrl_router);<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; wait_until_xrl_router_is_ready(_ospf.get_eventloop(), xrl_router);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //debug_msg("\n");<br>&nbsp;&nbsp;&nbsp; //event loop run<br><br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; bool success=false;<br>&nbsp;&nbsp;&nbsp;
 &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; success=xrl_ospf_loopfree_client.send_reveive_lsdb_change("ospf_loopfree",<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; callback(this,&amp;AreaRouter::send_reveive_lsdb_change_cb ));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp; if (success) cout&lt;&lt; "LSDB change"&lt;&lt;endl;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch (...) {<br>&nbsp;&nbsp;&nbsp; xorp_catch_standard_exceptions(); }<br><br>But I found the errors (in the file attached).<br><br>Could you please help me to fix these?<br>Thanks so much<br><br>Nguyen Van Nam <br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br><br></div></div><br>



      </div></div></div><br>



      </body></html>