From e67e8ca7b284c0dc48f93a91ac9eda4268616aaf Mon Sep 17 00:00:00 2001 From: Arne Sund Date: Wed, 18 Mar 2015 19:50:01 +0100 Subject: Updated interface names, the junos way! --- planning/planning.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'planning/planning.cpp') diff --git a/planning/planning.cpp b/planning/planning.cpp index e2cd012..215ae7f 100644 --- a/planning/planning.cpp +++ b/planning/planning.cpp @@ -321,8 +321,8 @@ string distro_name(unsigned distro) string port_name(unsigned distro, unsigned portnum) { char buf[16]; - int distros[] = { 1, 2, 5, 6 }; - sprintf(buf, "Gi%u/%u", distros[portnum / 48], (portnum % 48) + 1); + int distros[] = { 0, 1, 2, 3 }; + sprintf(buf, "ge-%u/0/%u", distros[portnum / 48], (portnum % 48)); return buf; } -- cgit v1.2.3