• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

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


Commit MetaInfo

Revision9bbedb86164bb9e5957bc86a33651aea6eca41c0 (tree)
Zeit2021-08-11 08:34:35
Autordyknon <dyknon@user...>
Commiterdyknon

Log Message

for test

Ändern Zusammenfassung

Diff

--- a/Net/DHCP6/MessageExchange.pm
+++ b/Net/DHCP6/MessageExchange.pm
@@ -198,11 +198,13 @@ sub recv {
198198 my $from = $self->sock->recv($buf, $bufsize, 0);
199199 if(!defined $from){
200200 if($! == EAGAIN || $! == EWOULDBLOCK){
201+ print "not recved";
201202 return undef;
202203 }else{
203204 die "socket io error: $!";
204205 }
205206 }
207+ print(map{sprintf(" %02x", $_)} unpack("C*", $buf));
206208 my $parsed = eval { Net::DHCP6::Message->parse($buf); };
207209 if(wantarray){
208210 ($parsed, $from);