]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Fixed merge error trac4551_base
authorFrancis Dupont <fdupont@isc.org>
Tue, 16 Aug 2016 15:29:47 +0000 (17:29 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 16 Aug 2016 15:29:47 +0000 (17:29 +0200)
src/lib/eval/token.cc

index bda146f272dc647567988fe26dfab92f1f84cc7b..918e4e9ae7dd55a8af7211e729437c1432225759 100644 (file)
@@ -159,7 +159,7 @@ OptionPtr TokenRelay6Option::getOption(Pkt& pkt) {
     try {
         // Check if it's a Pkt6.  If it's not the dynamic_cast will
         // throw std::bad_cast.
-        const Pkt6& pkt6 = dynamic_cast<const Pkt6&>(pkt);
+        Pkt6& pkt6 = dynamic_cast<Pkt6&>(pkt);
 
         try {
             // Now that we have the right type of packet we can