Skip to content

Only mark active DHCP clients as present#8110

Merged
pvizeli merged 1 commit into
home-assistant:devfrom
cyberplant:patch-2
Jun 20, 2017
Merged

Only mark active DHCP clients as present#8110
pvizeli merged 1 commit into
home-assistant:devfrom
cyberplant:patch-2

Conversation

@cyberplant
Copy link
Copy Markdown
Contributor

@cyberplant cyberplant commented Jun 19, 2017

We only want to know which of the DHCP clients are indeed active.

For example: I've a table of static DHCP leases with most of the IPs of my network, so this module is always detecting them as present. With my patch only the active ones will be detected as present.

I already mentioned here: #7366 (comment)

Description:

Only mark active DHCP clients as present

Checklist:

If the code communicates with devices, web services, or third-party tools:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass

We only want to know which of the DHCP clients are indeed active.

For example: I've a table of static DHCP leases with most of the IPs of my network, so this module is always detecting them as present. With my patch only the active ones will be detected as present.

I already mentioned here: #7366 (comment)
@mention-bot
Copy link
Copy Markdown

@cyberplant, thanks for your PR! By analyzing the history of the files in this pull request, we identified @LvivEchoes and @fabaff to be potential reviewers.

@pvizeli pvizeli merged commit 04920fa into home-assistant:dev Jun 20, 2017
@balloob balloob mentioned this pull request Jul 1, 2017
dethpickle pushed a commit to dethpickle/home-assistant that referenced this pull request Aug 18, 2017
We only want to know which of the DHCP clients are indeed active.

For example: I've a table of static DHCP leases with most of the IPs of my network, so this module is always detecting them as present. With my patch only the active ones will be detected as present.

I already mentioned here: home-assistant#7366 (comment)
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants