恥ずかしい勘違いから生まれた、DHCP6の不要かつ部分的な実装
Revision | ec99ee36bf5b60850379b52604838176eeab9555 (tree) |
---|---|
Time | 2021-08-14 05:14:59 |
Author | dyknon <dyknon@user...> |
Commiter | dyknon |
add verify method to Option
@@ -36,6 +36,13 @@ sub data { | ||
36 | 36 | $self->{data}; |
37 | 37 | } |
38 | 38 | |
39 | +# may overridden | |
40 | +sub verify { | |
41 | + my $self = shift; | |
42 | + my $who = shift; | |
43 | + undef; | |
44 | +} | |
45 | + | |
39 | 46 | sub serialize { |
40 | 47 | my $self = shift; |
41 | 48 | die "data length mismatch" unless($self->len == length $self->data); |