Skip to content

Commit 9adb2b2

Browse files
author
bwelling
committed
Flags.DO -> ExtendedFlags.DO
git-svn-id: http://svn.code.sf.net/p/dnsjava/code/trunk@1182 c76caeb1-94fd-44dd-870f-0c9d92034fc1
1 parent 9573a2d commit 9adb2b2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

dig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public class dig {
154154

155155
case 'd':
156156
opt = new OPTRecord((short)1280, (byte)0,
157-
(byte)0, Flags.DO);
157+
(byte)0, ExtendedFlags.DO);
158158
break;
159159

160160
case 'q':

jnamed.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ else if (queryOPT != null)
435435
else
436436
maxLength = 512;
437437

438-
if (queryOPT != null && (queryOPT.getFlags() & Flags.DO) != 0)
438+
if (queryOPT != null && (queryOPT.getFlags() & ExtendedFlags.DO) != 0)
439439
flags = FLAG_DNSSECOK;
440440

441441
Message response = new Message(query.getHeader().getID());
@@ -459,7 +459,7 @@ else if (queryOPT != null)
459459
addAdditional(response, flags);
460460

461461
if (queryOPT != null) {
462-
int optflags = (flags == FLAG_DNSSECOK) ? Flags.DO : 0;
462+
int optflags = (flags == FLAG_DNSSECOK) ? ExtendedFlags.DO : 0;
463463
OPTRecord opt = new OPTRecord((short)4096, rcode, (byte)0,
464464
optflags);
465465
response.addRecord(opt, Section.ADDITIONAL);

0 commit comments

Comments
 (0)