Update header files to 2.6.14
Integrate support for DCCP and tcp_diag into ss
Add -batch to ip command
diff --git a/ip/ipmonitor.c b/ip/ipmonitor.c
index 819f9f6..9f72563 100644
--- a/ip/ipmonitor.c
+++ b/ip/ipmonitor.c
@@ -88,7 +88,6 @@
int do_ipmonitor(int argc, char **argv)
{
- struct rtnl_handle rth;
char *file = NULL;
unsigned groups = ~RTMGRP_TC;
int llink=0;
@@ -156,13 +155,10 @@
return rtnl_from_file(fp, accept_msg, (void*)stdout);
}
- if (rtnl_open(&rth, groups) < 0)
- exit(1);
-
ll_init_map(&rth);
if (rtnl_listen(&rth, accept_msg, (void*)stdout) < 0)
exit(2);
- exit(0);
+ return 0;
}