Skip to content

Commit

Permalink
Add ability to create DontFragmentAttribute attribute from AttributeF…
Browse files Browse the repository at this point in the history
…racotry
  • Loading branch information
sdubov committed Nov 25, 2021
1 parent 64a7ca8 commit 2d196ef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/org/ice4j/attribute/AttributeFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -667,4 +667,14 @@ public static ConnectionIdAttribute createConnectionIdAttribute()
return attribute;
}

/**
* Creates a DontFragmentAttribute
*
* @return the new instance of DontFragmentAttribute
*/
public static DontFragmentAttribute createDontFragmentAttribute()
{
DontFragmentAttribute attribute = new DontFragmentAttribute();
return attribute;
}
}

0 comments on commit 2d196ef

Please sign in to comment.