leamas / ddupdate

Update DNS Data for Dynamic IP Addresses
MIT License
40 stars 28 forks source link

Better parsing of inet6 interface info #28

Closed aerusso closed 5 years ago

aerusso commented 5 years ago

This patch improves the parsing of interface information, which is particularly useful for ipv6 addresses. I wasn't able to test this on a wide variety of platforms (only Linux).

Do other platforms put words before inet, or put multiple ip addresses on the same line? If not, then this should be compatible.

leamas commented 5 years ago

Do other platforms put words before inet

ddupdate is by definition linux-centric, with dependencies on systemd, .netrc semantics and what not. So this is not really a problem.

Thanks for yet another great contribution!