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

LCDproc: Add a link status screen for each interface. Issue #8198 #783

Merged
merged 2 commits into from Mar 9, 2020

Conversation

vktg
Copy link
Contributor

@vktg vktg commented Feb 28, 2020

Redmine Issue: https://redmine.pfsense.org/issues/8198
Ready for review

The link screen is similar to the 'Interfaces' dashboard widget, displaying ipv4, ipv6, mac and link status for each interface.

This is fixed/resolved copy of the original PR #377 by @c-schwamborn

Comment on lines 494 to 495
if ($ifinfo['status'] == "up" ||
$ifinfo['status'] == "associated") {
Copy link
Contributor

Choose a reason for hiding this comment

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

Each test should be in parenthesis

Comment on lines 502 to 504
if ($ifinfo['pppoelink'] == "up" ||
$ifinfo['pptplink'] == "up" ||
$ifinfo['l2tplink'] == "up") {
Copy link
Contributor

Choose a reason for hiding this comment

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

Each test should be in parenthesis

Comment on lines 1257 to 1258
if ($ifLinkList == null)
$ifLinkList = build_interface_link_list();
Copy link
Contributor

Choose a reason for hiding this comment

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

The body of this if needs braces around it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

all fixed

@netgate-git-updates netgate-git-updates merged commit fea7e87 into pfsense:devel Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants