Patch taken from upstream fixes an Invalid argument error while trying to get the IP address of an interface. Makefile was updated to current style. (cherry-picked from 5ab9f3e357) Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
5ab9f3e357