diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-12 16:57:37 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-12 16:57:37 -0700 |
| commit | 1d37204a37b9ce58fa1ef67d4a209573e559c391 (patch) | |
| tree | aec9a0a4c7cf4a3204d7407e76696d15ed32220e /node/Network.hpp | |
| parent | 6b4346d1ac9c7bb25b810be4db62fc6e3d38a189 (diff) | |
| download | infinitytier-1d37204a37b9ce58fa1ef67d4a209573e559c391.tar.gz infinitytier-1d37204a37b9ce58fa1ef67d4a209573e559c391.zip | |
Refactoring in progress... pardon our dust...
Diffstat (limited to 'node/Network.hpp')
| -rw-r--r-- | node/Network.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/node/Network.hpp b/node/Network.hpp index cab41411..a24f161c 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -110,13 +110,13 @@ public: */ enum Status { - NETWORK_INITIALIZING, // Creating tap device and setting up state - NETWORK_WAITING_FOR_FIRST_AUTOCONF, // Waiting for initial setup with netconf master - NETWORK_OK, // Network is up, seems to be working - NETWORK_ACCESS_DENIED, // Netconf node reported permission denied - NETWORK_NOT_FOUND, // Netconf node reported network not found - NETWORK_INITIALIZATION_FAILED, // Cannot initialize device (OS/installation problem?) - NETWORK_NO_MORE_DEVICES // OS cannot create any more tap devices (some OSes have a limit) + NETWORK_INITIALIZING = 0, // Creating tap device and setting up state + NETWORK_WAITING_FOR_FIRST_AUTOCONF = 1, // Waiting for initial setup with netconf master + NETWORK_OK = 2, // Network is up, seems to be working + NETWORK_ACCESS_DENIED = 3, // Netconf node reported permission denied + NETWORK_NOT_FOUND = 4, // Netconf node reported network not found + NETWORK_INITIALIZATION_FAILED = 5, // Cannot initialize device (OS/installation problem?) + NETWORK_NO_MORE_DEVICES = 6 // OS cannot create any more tap devices (some OSes have a limit) }; /** |
