|
@@ -88,14 +88,13 @@ struct numeric_resolv {
|
88
|
88
|
|
89
|
89
|
static void numeric_step ( struct numeric_resolv *numeric ) {
|
90
|
90
|
|
91
|
|
- process_del ( &numeric->process );
|
92
|
91
|
if ( numeric->rc == 0 )
|
93
|
92
|
resolv_done ( &numeric->resolv, &numeric->sa );
|
94
|
93
|
intf_shutdown ( &numeric->resolv, numeric->rc );
|
95
|
94
|
}
|
96
|
95
|
|
97
|
96
|
static struct process_descriptor numeric_process_desc =
|
98
|
|
- PROC_DESC ( struct numeric_resolv, process, numeric_step );
|
|
97
|
+ PROC_DESC_ONCE ( struct numeric_resolv, process, numeric_step );
|
99
|
98
|
|
100
|
99
|
static int numeric_resolv ( struct interface *resolv,
|
101
|
100
|
const char *name, struct sockaddr *sa ) {
|