mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
5640f89259
The WinPcap driver presumes to be obligatory for the application. Therefore it quits the whole application if it can't initialize successfully. In former times the WinPcap driver required a cmdline parameter to initialize properly. The netsim target presumably doesn't consider the WinPcap driver obligatory for its applications so it checks the cmdline and starts the WinPcap driver only if it finds the WinPcap cmdline parameter present. Thus it prevents the WinPcap driver from failing to initialize which brings down the whole application. However recently the WinPcap driver was changed to just use some default value if its cmdline parameter isn't found. So there's no more need to keep WinPcap from starting just to make sure it doesn't bring down the whole application. The presumption behind all this reasoning is that a WinPcap driver running with some (potentially wrong) default isn't worse than a WinPcap driver not running at all. |
||
---|---|---|
.. | ||
dev | ||
net | ||
contiki-conf.h | ||
contiki-esb.h | ||
contiki-main.c | ||
contiki-main.h | ||
display.c | ||
display.h | ||
ether.c | ||
ether.h | ||
init.c | ||
init.h | ||
loader-arch.h | ||
main.c | ||
Makefile.netsim | ||
netsim-init.c | ||
node-id.h | ||
node.c | ||
node.h | ||
nodes.c | ||
nodes.h | ||
random.c | ||
random.h | ||
sensor.c | ||
sensor.h | ||
symbols.c |