summaryrefslogtreecommitdiff
path: root/tools/permutations.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/permutations.c')
-rw-r--r--tools/permutations.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/permutations.c b/tools/permutations.c
index 88d1464697..fa1817a8e1 100644
--- a/tools/permutations.c
+++ b/tools/permutations.c
@@ -15,10 +15,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with GNU Zebra; see the file COPYING. If not, write to the Free
- * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; see the file COPYING; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "command.h"
@@ -43,9 +42,9 @@ int main (int argc, char *argv[])
cmd->string = strdup(argv[1]);
struct graph *graph = graph_new();
- struct cmd_token *token = new_cmd_token (START_TKN, cmd->attr, NULL, NULL);
+ struct cmd_token *token = cmd_token_new (START_TKN, cmd->attr, NULL, NULL);
graph_new_node (graph, token, NULL);
- command_parse_format (graph, cmd);
+ cmd_graph_parse (graph, cmd);
permute (vector_slot (graph->nodes, 0));
}