• 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

Revisionec99ee36bf5b60850379b52604838176eeab9555 (tree)
Time2021-08-14 05:14:59
Authordyknon <dyknon@user...>
Commiterdyknon

Log Message

add verify method to Option

Change Summary

Incremental Difference

--- a/Net/DHCP6/Option.pm
+++ b/Net/DHCP6/Option.pm
@@ -36,6 +36,13 @@ sub data {
3636 $self->{data};
3737 }
3838
39+# may overridden
40+sub verify {
41+ my $self = shift;
42+ my $who = shift;
43+ undef;
44+}
45+
3946 sub serialize {
4047 my $self = shift;
4148 die "data length mismatch" unless($self->len == length $self->data);