On 9/24/25 4:26 AM, Martin Husemann wrote:
On Tue, Sep 23, 2025 at 03:18:43PM -0400, Jason Mitchell wrote:while((c=getopt(argc,argv,"i:dt:hoa"))!=EOF) {Check how "c" is declared - I bet it is "char c" - and that is wrong. It needs to be "int c". Martin
This, of course fixed it. Thanks to everyone who responded. I've tested the change on amd64 and aarch64 and both work fine. The home page for cdpd is http://snar.spb.ru/prog/cdpd/ and there's a newer version (1.0.4.1) that doesn't require libnet10, if someone wants to upgrade the version in pkgsrc.
Thanks again, Jason M.