mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Added a constant static value to each PDU indicating the corresponding PDU::PDUType flag.
This commit is contained in:
@@ -38,6 +38,11 @@ namespace Tins {
|
||||
*/
|
||||
class DHCP : public BootP {
|
||||
public:
|
||||
/**
|
||||
* \brief This PDU's flag.
|
||||
*/
|
||||
static const PDU::PDUType pdu_flag = PDU::DHCP;
|
||||
|
||||
/**
|
||||
* \brief DHCP flags.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user