• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

恥ずかしい勘違いから生まれた、DHCP6の不要かつ部分的な実装


Commit MetaInfo

Revisão1594fda102e2bf1296757a0fa5e4326fc9ca90d6 (tree)
Hora2021-08-11 07:13:23
Autordyknon <dyknon@user...>
Commiterdyknon

Mensagem de Log

fixit

Mudança Sumário

Diff

--- a/Net/DHCP6/MessageExchange.pm
+++ b/Net/DHCP6/MessageExchange.pm
@@ -14,6 +14,7 @@ use Net::DHCP6::Parameters qw(
1414 use Socket qw/getaddrinfo AF_INET6 SOCK_DGRAM AI_PASSIVE/;
1515 use POSIX qw/EAGAIN EWOULDBLOCK/;
1616 use Time::HiRes;
17+use IO::Socket::IP;
1718 use IO::Select;
1819
1920 our @ISA = qw/Exporter/;
--- a/test.pl
+++ b/test.pl
@@ -17,6 +17,7 @@ open(my $aih, "-|:utf8", qw/ip -j address show/, IF) or die;
1717 {
1818 local $/;
1919 $ai = decode_json <$aih>;
20+ $ai = [grep{%$_ != 0} @$ai];
2021 }
2122 close $aih;
2223