projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle the case when adding a new interface fails
[connman]
/
plugins
/
resolvconf.c
diff --git
a/plugins/resolvconf.c
b/plugins/resolvconf.c
index
0a1c036
..
df3a834
100644
(file)
--- a/
plugins/resolvconf.c
+++ b/
plugins/resolvconf.c
@@
-2,7
+2,7
@@
*
* Connection Manager
*
*
* Connection Manager
*
- * Copyright (C) 2007-2008 Intel Corporation. All rights reserved.
+ * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@
-27,14
+27,13
@@
#include <unistd.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdlib.h>
+#define CONNMAN_API_SUBJECT_TO_CHANGE
#include <connman/plugin.h>
#include <connman/resolver.h>
#include <connman/log.h>
#include <glib.h>
#include <connman/plugin.h>
#include <connman/resolver.h>
#include <connman/log.h>
#include <glib.h>
-#define RESOLVCONF "/sbin/resolvconf"
-
static int resolvconf_append(const char *interface, const char *domain,
const char *server)
{
static int resolvconf_append(const char *interface, const char *domain,
const char *server)
{
@@
-95,4
+94,4
@@
static void resolvconf_exit(void)
}
CONNMAN_PLUGIN_DEFINE(resolvconf, "Name resolver plugin", VERSION,
}
CONNMAN_PLUGIN_DEFINE(resolvconf, "Name resolver plugin", VERSION,
- resolvconf_init, resolvconf_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, resolvconf_init, resolvconf_exit)