summaryrefslogtreecommitdiff
path: root/net/cdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/cdp.c')
-rw-r--r--net/cdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/cdp.c b/net/cdp.c
index 3dab6a14629..fa924097ac8 100644
--- a/net/cdp.c
+++ b/net/cdp.c
@@ -235,7 +235,7 @@ CDPTimeout(void)
if (!CDPOK)
NetStartAgain();
else
- NetState = NETLOOP_SUCCESS;
+ net_set_state(NETLOOP_SUCCESS);
}
static void