projects
/
perl-cwmp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r284@brr: dpavlin | 2007-11-26 00:53:03 +0100
[perl-cwmp.git]
/
lib
/
CWMP
/
Methods.pm
diff --git
a/lib/CWMP/Methods.pm
b/lib/CWMP/Methods.pm
index
585dceb
..
f032733
100644
(file)
--- a/
lib/CWMP/Methods.pm
+++ b/
lib/CWMP/Methods.pm
@@
-219,6
+219,20
@@
sub Reboot {
});
}
+=head2 FactoryReset
+
+ $method->FactoryReset( $state );
+
+=cut
+
+sub FactoryReset {
+ my ( $self, $state ) = @_;
+ $self->xml( $state, sub {
+ my ( $X, $state ) = @_;
+ $X->FactoryReset();
+ });
+}
+
=head1 Server methods