summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r--src/ipcpd/normal/dt_pci.h2
-rw-r--r--src/ipcpd/normal/fa.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/ipcpd/normal/dt_pci.h b/src/ipcpd/normal/dt_pci.h
index 13f782a4..ddcf9066 100644
--- a/src/ipcpd/normal/dt_pci.h
+++ b/src/ipcpd/normal/dt_pci.h
@@ -31,8 +31,6 @@
#include <stdbool.h>
#define DT_PROTO "dt"
-#define FD_FA 1
-#define FD_DHT 2
/* Abstract syntax */
enum dtp_fields {
diff --git a/src/ipcpd/normal/fa.c b/src/ipcpd/normal/fa.c
index d7073617..26ee9037 100644
--- a/src/ipcpd/normal/fa.c
+++ b/src/ipcpd/normal/fa.c
@@ -360,7 +360,7 @@ int fa_alloc_resp(int fd,
assert(qc >= 0 && qc < QOS_CUBE_MAX);
- if (dt_write_sdu(fa.r_addr[fd], qc, FD_FA, sdb)) {
+ if (dt_write_sdu(fa.r_addr[fd], qc, fa.fd, sdb)) {
destroy_conn(fd);
pthread_rwlock_unlock(&fa.flows_lock);
ipcp_sdb_release(sdb);