Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/java/org/xbill/DNS/CNAMERecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ public class CNAMERecord extends SingleCompressedNameBase {
/**
* Creates a new CNAMERecord with the given data
*
* @param alias The name to which the CNAME alias points
* @param target The name to which the CNAME alias points
*/
public CNAMERecord(Name name, int dclass, long ttl, Name alias) {
super(name, Type.CNAME, dclass, ttl, alias, "alias");
public CNAMERecord(Name name, int dclass, long ttl, Name target) {
super(name, Type.CNAME, dclass, ttl, target, "target");
}

/** Gets the target of the CNAME Record */
Expand Down