*
* http://www.apache.org/licenses/LICENSE-2.0
*
- * Unless required by applicable law or apatched to in writing, software
+ * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
#include "openvswitch/datapath-protocol.h"
#include "shash.h"
#include "socket-util.h"
-
-#define THIS_MODULE VLM_netdev_vport
#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(netdev_vport)
+
struct netdev_vport_notifier {
struct netdev_notifier notifier;
struct list list_node;
- struct shash_node *shash_node;
+ struct shash_node *shash_node;
};
static struct shash netdev_vport_notifiers =
if (list) {
struct netdev_vport_notifier *notifier;
- LIST_FOR_EACH (notifier, struct netdev_vport_notifier,
- list_node, list) {
+ LIST_FOR_EACH (notifier, list_node, list) {
struct netdev_notifier *n = ¬ifier->notifier;
n->cb(n);
}