Skip to content

Commit

Permalink
Improve Telnet coverage (seladb#1208)
Browse files Browse the repository at this point in the history
* Scoped enum + improve coverage

* fix

* update equal enumclass

* fix alignment

* remove tabs

* remove trailing whitespace
  • Loading branch information
egecetin authored and fxlb committed Oct 22, 2024
1 parent 7b7cccf commit f624b9d
Show file tree
Hide file tree
Showing 3 changed files with 253 additions and 140 deletions.
4 changes: 2 additions & 2 deletions Packet++/header/TelnetLayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TelnetLayer : public Layer
/**
* Telnet Command Indicator
*/
enum TelnetCommand
enum class TelnetCommand : int
{
/// Indicator to parser reached end of packet
TelnetCommandEndOfPacket = -1,
Expand Down Expand Up @@ -103,7 +103,7 @@ class TelnetLayer : public Layer
/**
* Telnet Options
*/
enum TelnetOption
enum class TelnetOption : int
{
/// Internal return for no option detected
TelnetOptionNoOption = -1,
Expand Down
Loading

0 comments on commit f624b9d

Please sign in to comment.