Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine syntax: expose overloaded inherited functions #376

Merged
merged 1 commit into from
Nov 9, 2017

Conversation

qiluo-msft
Copy link
Contributor

No description provided.

@qiluo-msft qiluo-msft merged commit 165e2dc into sonic-net:master Nov 9, 2017
@qiluo-msft qiluo-msft deleted the qiluo/fix branch November 9, 2017 22:45
@@ -167,12 +167,11 @@ bool VlanMgr::removeHostVlanMember(int vlan_id, const string &port_alias)

bool VlanMgr::isVlanMacOk()
{
return !(!gMacAddress);
return !!gMacAddress;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know i'm late for this one, but i just noticed it now. Why would you change from the previous readable notation to this unintuitive one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary parentheses make the previous code less readable, and less intuitive.

shine4chen pushed a commit to shine4chen/sonic-swss that referenced this pull request Apr 30, 2019
[vxlanorch]

* Adding the following logic:
- When creating vxlan tunnel, create its bridge port. If VXLAN tunnel
without bridge port, FDB MAC can not be learnt from or set to VXLAN
tunnel in ASIC.
- Add the tunnel name map to counter table, so that the ‘show mac’
command can display the FDB learnt from VXLAN tunnel.
- Send command to Linux kernel to create L2 VXLAN tunnel interface.

[fdborch]
* FDB MAC can be learnt from or set to VXLAN tunnel in ASIC

Signed-off-by: jianjun.dong <jianjun.dong@nephosinc.com>
shine4chen pushed a commit to shine4chen/sonic-swss that referenced this pull request Apr 30, 2019
[vxlanorch]

* Adding the following logic:
- When creating vxlan tunnel, create its bridge port. If VXLAN tunnel
without bridge port, FDB MAC can not be learnt from or set to VXLAN
tunnel in ASIC.
- Add the tunnel name map to counter table, so that the ‘show mac’
command can display the FDB learnt from VXLAN tunnel.
- Send command to Linux kernel to create L2 VXLAN tunnel interface.

[fdborch]
* FDB MAC can be learnt from or set to VXLAN tunnel in ASIC

Signed-off-by: jianjun.dong <jianjun.dong@nephosinc.com>
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
* Log message during stop/restart services during config load

* Rethrow the exception, if caught
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants