named-data-ndnSIM / ndnSIM

ndnSIM: NS-3 based NDN simulator
GNU General Public License v3.0
108 stars 166 forks source link

possible typo in python simple example #87

Open fam4r opened 6 years ago

fam4r commented 6 years ago

Hi,

running with

NS_LOG=ndn.Consumer:ndn.Producer ./waf --pyrun=src/ndnSIM/examples/ndn-simple.py

now it works.

Was giving a syntax error:

  File "ndn-simple.py", line 50
    Config::SetDefault("ns3::QueueBase::MaxPackets", UintegerValue(20))
           ^
SyntaxError: invalid syntax