Package: pimd
Version: 2.1.0-alpha29.17-6

Pimd does not work because a function prototype is missing.

The header includes for Pimd do not have the 'ntohl' function, and there is a warning during the build.

The lack of the function prototype causes the compiler to assume the return value as 'int' instead of 'unsigned long'. This causes comparisons to fail catastrophically, and the pim daemon does not insert any multicast routes into the kernel.

The attached patch includes arpa/inet.h and linux/types.h as necessary. It also removes the inclusion of the <netinet/in-slackware.h>, which is a copy of the slackware netinet/in.h.

The file in.h has been renamed as in-my.h and the references to this file have been changed to in-my.h, in order to allow the linux <netinet/in.h> to be included where necessary.

The problem is on Linux. I tried both the debian and ubuntu packages (the source is identical). I'm using Ubuntu Dapper.

This is a zero-level issue - Pimd cannot be used unless this is fixed. I don't know enough about pim to suggest a workaround.

Prasanna.

Attachment: pimd.changes.gz
Description: GNU Zip compressed data

Reply via email to