X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Frtnetlink.c;h=f5a6df8a1e5b6f05ba0148210d90395af21deca5;hb=b14c5fe9bd85b440d1727934c84d5f7fded051f7;hp=29e02f61496d5db19a21b0b3a225495165552281;hpb=d65349ea28bb67a0062a9b4b60ff97538206373b;p=openvswitch diff --git a/lib/rtnetlink.c b/lib/rtnetlink.c index 29e02f61..f5a6df8a 100644 --- a/lib/rtnetlink.c +++ b/lib/rtnetlink.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nicira Networks. + * Copyright (c) 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,10 +27,10 @@ #include "coverage.h" #include "netlink.h" #include "ofpbuf.h" - -#define THIS_MODULE VLM_rtnetlink #include "vlog.h" +VLOG_DEFINE_THIS_MODULE(rtnetlink) + /* rtnetlink socket. */ static struct nl_sock *notify_sock; @@ -76,7 +76,7 @@ rtnetlink_notifier_register(struct rtnetlink_notifier *notifier, } /* Cancels notification on 'notifier', which must have previously been - * registered with lxnetdev_notifier_register(). */ + * registered with rtnetlink_notifier_register(). */ void rtnetlink_notifier_unregister(struct rtnetlink_notifier *notifier) {