projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace most uses of assert by ovs_assert.
[cascardo/ovs.git]
/
lib
/
route-table.c
diff --git
a/lib/route-table.c
b/lib/route-table.c
index
63a09f2
..
5bdcfb0
100644
(file)
--- a/
lib/route-table.c
+++ b/
lib/route-table.c
@@
-18,7
+18,6
@@
#include "route-table.h"
#include "route-table.h"
-#include <assert.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <linux/rtnetlink.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <linux/rtnetlink.h>
@@
-161,8
+160,8
@@
void
route_table_register(void)
{
if (!register_count) {
route_table_register(void)
{
if (!register_count) {
- assert(!nln);
- assert(!route_notifier);
+
ovs_
assert(!nln);
+
ovs_
assert(!route_notifier);
nln = nln_create(NETLINK_ROUTE, RTNLGRP_IPV4_ROUTE,
(nln_parse_func *) route_table_parse, &rtmsg);
nln = nln_create(NETLINK_ROUTE, RTNLGRP_IPV4_ROUTE,
(nln_parse_func *) route_table_parse, &rtmsg);