]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_srv6_vty.c
zebra: avoid unneeded vxlan work on shutdown
[mirror_frr.git] / zebra / zebra_srv6_vty.c
index 13ad9d71bbdae1f5f0af7ad795e16772b5fbde32..3775d3dcdfc4133fe4f377d03ec2d80714db7ea0 100644 (file)
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Zebra SRv6 VTY functions
  * Copyright (C) 2020  Hiroki Shirokura, LINE Corporation
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of 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 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 <zebra.h>
@@ -434,9 +421,9 @@ static int zebra_sr_config(struct vty *vty)
                        if (locator->argument_bits_length)
                                vty_out(vty, " arg-len %u",
                                        locator->argument_bits_length);
-                       if (CHECK_FLAG(locator->flags, SRV6_LOCATOR_USID))
-                               vty_out(vty, "    behavior usid");
                        vty_out(vty, "\n");
+                       if (CHECK_FLAG(locator->flags, SRV6_LOCATOR_USID))
+                               vty_out(vty, "    behavior usid\n");
                        vty_out(vty, "   exit\n");
                        vty_out(vty, "   !\n");
                }