Skip to content

NetSim: Fix spurious auto-DNS warning#9820

Merged
islemaster merged 1 commit into
stagingfrom
netsim-auto-dns-warning
Aug 4, 2016
Merged

NetSim: Fix spurious auto-DNS warning#9820
islemaster merged 1 commit into
stagingfrom
netsim-auto-dns-warning

Conversation

@islemaster

@islemaster islemaster commented Aug 3, 2016

Copy link
Copy Markdown
Contributor

@ashercodeorg reported this warning from his console (original report):

Packet not readable by auto-DNS: Error: Unable to select a bit-width for field undefined

Warning was caused by a bad query in the new logging code about whether a given packet was from the Auto-DNS node, when in broadcast mode there is no Auto-DNS node. It seems sensible for that query to always return false if auto-DNS is not enabled, so I've updated it (and the corresponding "to auto-DNS" query) to do so.

Waiting on #9819 and #9816 - please only review last commit d220b78

@ashercodeorg ashercodeorg removed their assignment Aug 4, 2016
@ashercodeorg

Copy link
Copy Markdown
Contributor

For anything JS, I'm very much the wrong person to review.

CC @ashercodeorg

@ashercodeorg reported this warning from his console:

> Packet not readable by auto-DNS: Error: Unable to select a bit-width for field undefined

Warning was caused by a bad query in the new logging code about whether a given packet was from the Auto-DNS node, when in broadcast mode there _is_ no Auto-DNS node.  It seems sensible for that query to always return false if auto-DNS is not enabled, so I've updated it (and the corresponding "to auto-DNS" query) to do so.
@bcjordan

bcjordan commented Aug 4, 2016

Copy link
Copy Markdown
Contributor

LGTM

@islemaster islemaster merged commit 59d1189 into staging Aug 4, 2016
@islemaster islemaster deleted the netsim-auto-dns-warning branch August 4, 2016 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants