@@ -202,6 +202,7 @@ def reg_Data(cls):
202202 def register_L3Protocol (cls ):
203203 cls .add_method ('getL3Protocol' , 'ns3::Ptr<ns3::ndn::L3Protocol>' , [param ('ns3::Ptr<ns3::Object>' , 'node' )], is_static = True )
204204 cls .add_method ('getForwarder' , 'std::shared_ptr<ns3::ndn::nfd::Forwarder>' , [])
205+ cls .add_method ('getFaceTable' , retval ('const ns3::ndn::nfd::FaceTable&' , caller_manages_return = False ), [], is_const = True )
205206 register_L3Protocol (root_module ['ns3::ndn::L3Protocol' ])
206207
207208 # shared_ptr<Face>
@@ -220,7 +221,6 @@ def reg_NfdForwarder(cls):
220221 cls .add_method ('getFib' , retval ('const ns3::ndn::nfd::Fib&' , caller_manages_return = False ), [], is_const = True )
221222 cls .add_method ('getPit' , retval ('const ns3::ndn::nfd::Pit&' , caller_manages_return = False ), [], is_const = True )
222223 cls .add_method ('getCs' , retval ('const ns3::ndn::nfd::Cs&' , caller_manages_return = False ), [], is_const = True )
223- cls .add_method ('getFaceTable' , retval ('const ns3::ndn::nfd::FaceTable&' , caller_manages_return = False ), [], is_const = True )
224224 reg_NfdForwarder (root_module ['ns3::ndn::nfd::Forwarder' ])
225225
226226 #############
@@ -252,7 +252,7 @@ def reg_Entry(cls):
252252 reg_Entry (root_module ['ns3::ndn::nfd::fib::Entry' ])
253253
254254 def reg_NextHop (cls ):
255- cls .add_constructor ([param ('const ns3::ndn::Face&' , 'face' ), param ( 'uint64_t' , 'endpointId' ) ])
255+ cls .add_constructor ([param ('const ns3::ndn::Face&' , 'face' )])
256256
257257 cls .add_function_as_method ('getFaceFromFibNextHop' , 'std::shared_ptr<ns3::ndn::Face>' ,
258258 [param ('const ns3::ndn::nfd::fib::NextHop&' , 'obj' )],
0 commit comments