From 7f9eb9e5400e4e2e45b1752b4a11ae64d96edafe Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Sun, 14 Mar 2010 19:28:19 -0700 Subject: [PATCH] Changed remaining refs to netns to refer to mnexec. --- .gitignore | 2 +- mininet/net.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2c454b6..08086ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -netns +mnexec mininet.egg-info diff --git a/mininet/net.py b/mininet/net.py index c3e7979..e8a2ca1 100755 --- a/mininet/net.py +++ b/mininet/net.py @@ -105,10 +105,10 @@ def init(): # Perhaps we should do so automatically! print "*** Mininet must run as root." exit( 1 ) - # If which produces no output, then netns is not in the path. - # May want to loosen this to handle netns in the current dir. - if not quietRun( [ 'which', 'netns' ] ): - raise Exception( "Could not find netns; see INSTALL" ) + # If which produces no output, then mnexec is not in the path. + # May want to loosen this to handle mnexec in the current dir. + if not quietRun( [ 'which', 'mnexec' ] ): + raise Exception( "Could not find mnexec - check $PATH" ) fixLimits() class Mininet( object ):