summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcp/pkt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dhcp/pkt.h')
-rw-r--r--src/lib/dhcp/pkt.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/dhcp/pkt.h b/src/lib/dhcp/pkt.h
index 92d88e384e..e0aeceb2e2 100644
--- a/src/lib/dhcp/pkt.h
+++ b/src/lib/dhcp/pkt.h
@@ -152,13 +152,8 @@ public:
///
/// Method will throw exception if packet parsing fails.
///
- /// @todo Pkt4 throws exceptions when unpacking fails, while Pkt6
- /// catches exceptions and returns false. We need to unify that
- /// behavior one day (most likely using exceptions and turning
- /// return type to void).
- ///
- /// @return true if unpack was successful
- virtual bool unpack() = 0;
+ /// @throw tbd
+ virtual void unpack() = 0;
/// @brief Returns reference to output buffer.
///