BIND 10 trac1514, updated. 4d25eba05071e631333c26580ae495c50c6ae895 [1514] modified the comments. Appended the prerequisite comments for update_soa function in DDNS_SOA class
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Jun 1 06:48:35 UTC 2012
The branch, trac1514 has been updated
via 4d25eba05071e631333c26580ae495c50c6ae895 (commit)
from e63d7f5a896e05c9a5ee143dbca5fbc7ce9b8950 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4d25eba05071e631333c26580ae495c50c6ae895
Author: haikuo zhang <zhanghaikuo at cnnic.cn>
Date: Fri Jun 1 14:45:26 2012 +0800
[1514] modified the comments. Appended the prerequisite comments for update_soa
function in DDNS_SOA class
-----------------------------------------------------------------------
Summary of changes:
src/lib/python/isc/ddns/session.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/ddns/session.py b/src/lib/python/isc/ddns/session.py
index 1b1032e..c97ddc7 100644
--- a/src/lib/python/isc/ddns/session.py
+++ b/src/lib/python/isc/ddns/session.py
@@ -148,13 +148,14 @@ class DDNS_SOA:
return False
def update_soa(self, origin_soa, inc_number = 1):
- ''' Update the soa number incrementally as RFC 2136.
+ ''' Update the soa number incrementally as RFC 2136. Please make sure
+ that the origin_soa exists and not null before invoke this function.
Parameters:
origin_soa, the soa resource record which will be updated.
inc_number, the number which will be added into the serial number of
origin_soa, the default value is one.
Output:
- the new origin soa whoes serial number has been updated.
+ The new origin soa whoes serial number has been updated.
'''
soa_num = self.__get_serial_internal(origin_soa)
soa_num = soa_num + inc_number
More information about the bind10-changes
mailing list