| Index: media/tools/constrained_network_server/cns.py
|
| diff --git a/media/tools/constrained_network_server/cns.py b/media/tools/constrained_network_server/cns.py
|
| index 8bbc16a1ab47671ffa913465382810bbdd8e801c..734bd675101ae7607cf16b4ff17851e23555512d 100755
|
| --- a/media/tools/constrained_network_server/cns.py
|
| +++ b/media/tools/constrained_network_server/cns.py
|
| @@ -327,6 +327,12 @@ def Main():
|
| """Configure and start the ConstrainedNetworkServer."""
|
| options = ParseArgs()
|
|
|
| + try:
|
| + traffic_control.CheckRequirements()
|
| + except traffic_control.TrafficControlError as e:
|
| + cherrypy.log(e.msg)
|
| + return
|
| +
|
| cherrypy.config.update(
|
| {'server.socket_host': '::', 'server.socket_port': options.port})
|
|
|
|
|