[Xorp-hackers] patch for bug 596: Single node operational commands do not recognize optiona...

Michael Larson mike@vyatta.com
Mon, 17 Apr 2006 11:42:44 -0700


Hey all,

I've attached a patch for this bug. It's small enough that I'll just 
include it in the body of the email:

[mike@zeus rtrmgr]$ diff cli.cc cli.cc_new -Naur
--- cli.cc      2006-04-16 19:32:57.000000000 +0000
+++ cli.cc_new  2006-04-16 19:32:40.000000000 +0000
@@ -658,6 +658,9 @@
         command_vector_name.push_back(ccm.command_name());
         com1->set_global_name(command_vector_name);
         com1->set_can_pipe(ccm.can_pipe());
+
+       com1->set_default_nomore_mode(ccm.default_nomore_mode());
+
         com1->set_type_match_cb(ccm.type_match_cb());
         // Set the callback to generate the node's children
         com1->set_dynamic_children_callback(

Thanks!

Mike Larson
Vyatta