Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
For DHCP client configuration control the setting of the broadcast flag in the
[vpp.git]
/
src
/
vpp-api
/
vom
/
dhcp_config.hpp
diff --git
a/src/vpp-api/vom/dhcp_config.hpp
b/src/vpp-api/vom/dhcp_config.hpp
index
db97af9
..
8ea608d
100644
(file)
--- a/
src/vpp-api/vom/dhcp_config.hpp
+++ b/
src/vpp-api/vom/dhcp_config.hpp
@@
-41,14
+41,17
@@
public:
/**
* Construct a new object matching the desried state
*/
/**
* Construct a new object matching the desried state
*/
- dhcp_config(const interface& itf, const std::string& hostname);
+ dhcp_config(const interface& itf,
+ const std::string& hostname,
+ bool set_broadcast_flag = true);
/**
* Construct a new object matching the desried state
*/
dhcp_config(const interface& itf,
const std::string& hostname,
/**
* Construct a new object matching the desried state
*/
dhcp_config(const interface& itf,
const std::string& hostname,
- const l2_address_t& client_id);
+ const l2_address_t& client_id,
+ bool set_broadcast_flag = true);
/**
* Copy Constructor
/**
* Copy Constructor
@@
-202,6
+205,11
@@
private:
*/
const l2_address_t m_client_id;
*/
const l2_address_t m_client_id;
+ /**
+ * Flag to control the setting the of DHCP discover's broadcast flag
+ */
+ const bool m_set_broadcast_flag;
+
/**
* HW configuration for the binding. The bool representing the
* do/don't bind.
/**
* HW configuration for the binding. The bool representing the
* do/don't bind.