summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd/main.c')
-rw-r--r--src/irmd/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 22a32124..5875d7dc 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -630,7 +630,7 @@ static int connect_ipcp(pid_t pid,
return -EIPCP;
}
- if (entry->type != IPCP_NORMAL && entry->type != IPCP_BROADCAST) {
+ if (entry->type != IPCP_UNICAST && entry->type != IPCP_BROADCAST) {
pthread_rwlock_unlock(&irmd.reg_lock);
log_err("Cannot establish connections for this IPCP type.");
return -EIPCP;
@@ -666,7 +666,7 @@ static int disconnect_ipcp(pid_t pid,
return -EIPCP;
}
- if (entry->type != IPCP_NORMAL) {
+ if (entry->type != IPCP_UNICAST) {
pthread_rwlock_unlock(&irmd.reg_lock);
log_err("Cannot tear down connections for this IPCP type.");
return -EIPCP;