windows machine gets assigned wrong netmask

I have a Debian based DHCP server. It assigns correct netmask for all devices (WiFi router, voip, scanner) except for the windows machines. They all get assigned for some reason. They are all set to receive IP over DHCP; no manipulations with routing tables was done. Why do they get configured this way?

Settings of the isc-dhcp-server:

option domain-name ""; option domain-name-servers,; option subnet-mask;  default-lease-time 600; max-lease-time 7200;  ddns-update-style none;  subnet netmask {   option routers;   option subnet-mask;   range; }  host gnulinuxpc {   hardware ethernet 00:30:48:b8:52:cb;   fixed-address;   option subnet-mask; }  host windowspc {   hardware ethernet 00:18:f3:5e:bb:d3;   fixed-address;   option subnet-mask; } 

Service gets JSON error

I am using services module and when I tried to access API service on browser, it results an empty page with below error

'SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data'. 

When I take log messages, it shows below error

ArgumentCountError: Too few arguments to function _my_service_index(), 1 passed in /drupal7/sites/all/modules/custom/services/includes/ on line 207 and exactly 2 expected in _my_service_index()  

Please see below information on versions

Drupal version – 7.59

PHP Version – 7.1.8

I hope the issue is with the Services module 7.x-3.20, the info file says core = 7.x and php = 5.x. I am not sure whether this module is compatible with PHP 7.1.8 and I didn’t get services module with new updates.

Can anyone help me on this? Thanks.