Bug 17754 - Please use Net::IPv4Addr instead of Network::IPv4Addr
: Please use Net::IPv4Addr instead of Network::IPv4Addr
Status: UNCONFIRMED
Product: Logitech Media Server
Classification: Unclassified
Component: UPnP
: 7.7.0
: PC All
: -- minor (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-10 16:24 UTC by Tuomas Jormola
Modified: 2011-11-10 16:25 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tuomas Jormola 2011-11-10 16:24:25 UTC
Hi!

Network::IPv4Addr is an obsolete module in CPAN. The same module is also known as Net::IPv4Addr with more later release available (although the latest is still very old). No code changes necessary besides replacing all occurrences of Network::IPv4Addr with Net::IPv4Addr as the API is the same.

Alternatively, you might want to take a look at Net::CIDR if this more modern module would suite your needs as it looks like Network::IPv4Addr is used for CIDR handling of addresses. It should provide the same functionality.
Comment 1 Tuomas Jormola 2011-11-10 16:25:29 UTC
Forgot to mention that the affected file is Slim/Plugin/UPnP/Discovery.pm.