ofalk / libdnet

libdnet provides a simplified, portable interface to several low-level networking routines.
Other
153 stars 60 forks source link

Change tests for addr_pton() #62

Closed dwmcrobb closed 3 years ago

dwmcrobb commented 3 years ago

The ones where "localhost" is passed as the first argument should fail now, not pass. There are two of them. Sorry I missed these in my pull request.

https://github.com/ofalk/libdnet/blob/100f5b5c253dbf60facd0627c358de843c70d7cd/test/check/check_addr.c#L195

ofalk commented 3 years ago

Related to https://github.com/ofalk/libdnet/pull/61

ofalk commented 3 years ago

Should be ok now. Thanks for spotting it @dwmcrobb !