jdblair / sunspec

Sunspec Reference Implementation and Test Tool
Other
20 stars 5 forks source link

specifying a hostname instead of an ip address for -i option causes segfault #4

Open jdblair opened 12 years ago

jdblair commented 12 years ago

If you specify a hostname argument to the -i option, like "-i zaphod.dyndns.org" the tool segfaults rather than doing the right thing.

jdblair@lappy:~/git/sunspec/src$ suns -i zaphod.dyndns.org The IP string has been truncated ERROR: cannot initialize modbus context: Invalid argument Segmentation fault