aboutsummaryrefslogtreecommitdiffstats
path: root/planning
diff options
context:
space:
mode:
authorJoachim Tingvold <joachim@tingvold.com>2016-02-17 21:33:55 +0100
committerJoachim Tingvold <joachim@tingvold.com>2016-02-17 21:33:55 +0100
commit81881f455c116e28016b9d4e47caf5fc9b0678f6 (patch)
tree4363e225956993a636bc4d10dedb42af44ddb17e /planning
parentf88b1e4f23a2226dc1daca16591707fe433156eb (diff)
Ehr, cosmetics.
Diffstat (limited to 'planning')
-rw-r--r--planning/planning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/planning/planning.cpp b/planning/planning.cpp
index 1a17042..1880a15 100644
--- a/planning/planning.cpp
+++ b/planning/planning.cpp
@@ -322,7 +322,7 @@ string distro_name(unsigned distro)
string port_name(unsigned distro, unsigned portnum)
{
char buf[16];
- int distros[] = { 0, 1, 2 }; // must equal number of times called, defines name of port/member of stack
+ int distros[] = { 0, 1, 2 }; // must equal the number of switches in distro-stack
sprintf(buf, "ge-%u/0/%u", distros[portnum / 48], (portnum % 48));
return buf;
}