Skip to content

Commit

Permalink
fix(client): Address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-nielsen committed Mar 28, 2019
1 parent 2bab316 commit af76716
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/bvlc.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports.decode = (buffer, offset) => {
originatingIP = buffer.slice(4, 8).join('.');

// Only add the port if it's not the usual one.
if (port != DefaultBACnetPort) {
if (port !== DefaultBACnetPort) {
originatingIP += ':' + port;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/npdu.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const baEnum = require('./enum');

const DEFAULT_HOP_COUNT = 255;
const DEFAULT_HOP_COUNT = 0xFF;
const BACNET_PROTOCOL_VERSION = 1;
const BacnetAddressTypes = {
NONE: 0,
Expand Down

0 comments on commit af76716

Please sign in to comment.