commit | 4198356f233d0be5bdd2479b41c85121ffa3bd41 | [log] [tgz] |
---|---|---|
author | Nicolas Palpacuer <np202g@att.com> | Mon Sep 10 13:54:35 2018 -0400 |
committer | Nicolas Palpacuer <np202g@att.com> | Mon Sep 10 13:54:35 2018 -0400 |
tree | ec20561d0834f7a8e9d2157f789089d7194f86bb | |
parent | f0b024972c977409d16be681487a0666743190b0 [diff] |
port translation typo Change-Id: I74e59706365ba846a06c1c1d382829426c9c5b34
diff --git a/src/translation.cc b/src/translation.cc index 88f0a03..c2343b8 100644 --- a/src/translation.cc +++ b/src/translation.cc
@@ -2,7 +2,7 @@ int interface_key_to_port_no(bcmbal_interface_key key) { if (key.intf_type == BCMBAL_INTF_TYPE_NNI) { - return (0x1 << 15) + key.intf_id; + return (0x1 << 16) + key.intf_id; } if (key.intf_type == BCMBAL_INTF_TYPE_PON) { return (0x2 << 28) + key.intf_id;