Skip to content

Commit e1c632f

Browse files
author
bwelling
committed
Use setTSIGKey(TSIG).
git-svn-id: http://svn.code.sf.net/p/dnsjava/code/trunk@1377 c76caeb1-94fd-44dd-870f-0c9d92034fc1
1 parent 63fa21e commit e1c632f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

update.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ else if (operation.equals("key")) {
9292
String keydata = st.getString();
9393
if (res == null)
9494
res = new SimpleResolver(server);
95-
res.setTSIGKey(keyname, keydata);
95+
res.setTSIGKey(new TSIG(keyname, keydata));
9696
}
9797

9898
else if (operation.equals("edns")) {

0 commit comments

Comments
 (0)