Browse Source

[2318] Minor: options accessor in Subnet made const.

Marcin Siodelski 12 years ago
parent
commit
cb8128c933
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dhcp/subnet.h

+ 1 - 1
src/lib/dhcp/subnet.h

@@ -229,7 +229,7 @@ public:
     /// @return reference to collection of options configured for a subnet.
     /// The returned reference is valid as long as the Subnet object which
     /// returned it still exists.
-    const OptionContainer& getOptions() {
+    const OptionContainer& getOptions() const {
         return (options_);
     }