infusion / node-dhcp

A DHCP server and client written in pure JavaScript
https://raw.org/article/a-pure-javascript-dhcp-implementation/
MIT License
301 stars 75 forks source link

features undefined on client #63

Open zapphyre opened 4 years ago

zapphyre commented 4 years ago

just run your client example.

out:

Client Listening: 0.0.0.0:68
{ op: 1,
  htype: 1,
  hlen: 6,
  hops: 0,
  xid: 1,
  secs: 0,
  flags: 0,
  ciaddr: '0.0.0.0',
  yiaddr: '0.0.0.0',
  siaddr: '0.0.0.0',
  giaddr: '0.0.0.0',
  chaddr: 'C4-85-08-47-09-05',
  sname: '',
  file: '',
  magicCookie: 1669485411,
  options:
   { '53': 1, '55': [ 0 ], '57': 1500, '61': 'c4:85:08:47:09:05' } }
Unknown option 0 undefined

it's connected to features object in your config.