diff options
| author | Arne Sund <arnels@stortinget.samfundet.no> | 2015-03-18 19:50:01 +0100 | 
|---|---|---|
| committer | Arne Sund <arnels@stortinget.samfundet.no> | 2015-03-18 19:50:01 +0100 | 
| commit | e67e8ca7b284c0dc48f93a91ac9eda4268616aaf (patch) | |
| tree | 08cd6ac48b77ddf7d20e676063dc7e5090de82f8 | |
| parent | c5e9813cb8f77b7f0dc6f5a622668e7eb26931d1 (diff) | |
Updated interface names, the junos way!
| -rw-r--r-- | planning/planning.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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;  } | 
