]> git.proxmox.com Git - mirror_frr.git/blobdiff - ripngd/ripng_nexthop.c
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / ripngd / ripng_nexthop.c
index 849759e0701dd6c7c5eff0a965926bded76e6d7e..74a132aa941eb05dfa88f007353d15dcef9023b1 100644 (file)
  * 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
  */
 
 /* This file is required in order to support properly the RIPng nexthop
@@ -73,7 +72,7 @@ struct list *ripng_rte_new(void)
 
 void ripng_rte_free(struct list *ripng_rte_list)
 {
-       list_delete(ripng_rte_list);
+       list_delete(&ripng_rte_list);
 }
 
 /* Delete RTE */