Revision 574b2324 sysdep/linux/netlink.c

View differences:

sysdep/linux/netlink.c
151 151
      nl->fd = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
152 152
      if (nl->fd < 0)
153 153
	die("Unable to open rtnetlink socket: %m");
154
      nl->seq = now;
154
      nl->seq = (u32) (current_time() TO_S); /* Or perhaps random_u32() ? */
155 155
      nl->rx_buffer = xmalloc(NL_RX_SIZE);
156 156
      nl->last_hdr = NULL;
157 157
      nl->last_size = 0;

Also available in: Unified diff