Skip Menu |

This queue is for tickets about the Socket-Netlink CPAN distribution.

Report information
The Basics
Id: 91399
Status: new
Priority: 0/
Queue: Socket-Netlink

Owner: Nobody in particular
Requestors: sergiy.lozovsky [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: insufficient error handling in IO::Socket::Netlink::Generic
Date: Fri, 13 Dec 2013 10:13:31 -0800
To: bug-Socket-Netlink [...]
From: Sergiy Lozovsky <sergiy.lozovsky [...]>
Download (untitled) / with headers
text/plain 546b
Hi, IO::Socket::Netlink::Generic->register_family_name( "VXE" ); my $genlsock = IO::Socket::Netlink::Generic->new or die "socket: $!"; If VXE module is not installed, I get following error: "Expected nlmsg_type == NETLINK_GENERIC at ./ line 10" Which is extremely misleading. It should be something like "Invalid family" or "Family is not available". From what I understand, Netlink responds with an Error message (Type 2), which is not handled properly. Error code should be communicated back to the caller. Thanks, Sergiy.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to