Browse Source

[master] Fixed merge error

Francis Dupont 8 years ago
parent
commit
2edbac4338
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/eval/token.cc

+ 1 - 1
src/lib/eval/token.cc

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