summaryrefslogtreecommitdiff
path: root/src/tools/irm
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/irm')
-rw-r--r--src/tools/irm/irm_ipcp_bootstrap.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/tools/irm/irm_ipcp_bootstrap.c b/src/tools/irm/irm_ipcp_bootstrap.c
index 94b7f81e..d5fa97da 100644
--- a/src/tools/irm/irm_ipcp_bootstrap.c
+++ b/src/tools/irm/irm_ipcp_bootstrap.c
@@ -41,7 +41,6 @@
#define DEFAULT_ADDR_SIZE 4
#define DEFAULT_CEP_ID_SIZE 2
#define DEFAULT_PDU_LEN_SIZE 2
-#define DEFAULT_QOS_ID_SIZE 1
#define DEFAULT_SEQ_NO_SIZE 4
#define DEFAULT_TTL_SIZE 1
#define DEFAULT_CHK_SIZE 2
@@ -62,7 +61,6 @@ static void usage()
" [addr <address size> (default: %d)]\n"
" [cep_id <CEP-id size> (default: %d)]\n"
" [pdu_len <PDU length size> (default: %d)]\n"
- " [qos_id <QoS-id size> (default: %d)]\n"
" [seqno <sequence number size> (default: %d)]\n"
" [ttl <time to live size> (default: %d)]\n"
" [chk <checksum size> (default: %d)]\n"
@@ -75,10 +73,9 @@ static void usage()
"if TYPE == " SHIM_ETH_LLC "\n"
" if_name <interface name>\n",
DEFAULT_ADDR_SIZE, DEFAULT_CEP_ID_SIZE,
- DEFAULT_PDU_LEN_SIZE, DEFAULT_QOS_ID_SIZE,
- DEFAULT_SEQ_NO_SIZE, DEFAULT_TTL_SIZE,
- DEFAULT_CHK_SIZE, DEFAULT_MIN_PDU_SIZE,
- DEFAULT_MAX_PDU_SIZE, DEFAULT_DDNS);
+ DEFAULT_PDU_LEN_SIZE, DEFAULT_SEQ_NO_SIZE,
+ DEFAULT_TTL_SIZE, DEFAULT_CHK_SIZE,
+ DEFAULT_MIN_PDU_SIZE, DEFAULT_MAX_PDU_SIZE, DEFAULT_DDNS);
}
int do_bootstrap_ipcp(int argc, char ** argv)
@@ -88,7 +85,6 @@ int do_bootstrap_ipcp(int argc, char ** argv)
uint8_t addr_size = DEFAULT_ADDR_SIZE;
uint8_t cep_id_size = DEFAULT_CEP_ID_SIZE;
uint8_t pdu_length_size = DEFAULT_PDU_LEN_SIZE;
- uint8_t qos_id_size = DEFAULT_QOS_ID_SIZE;
uint8_t seqno_size = DEFAULT_SEQ_NO_SIZE;
uint8_t ttl_size = DEFAULT_TTL_SIZE;
uint8_t chk_size = DEFAULT_CHK_SIZE;
@@ -128,8 +124,6 @@ int do_bootstrap_ipcp(int argc, char ** argv)
cep_id_size = atoi(*(argv + 1));
} else if (matches(*argv, "pdu_len") == 0) {
pdu_length_size = atoi(*(argv + 1));
- } else if (matches(*argv, "qos_id") == 0) {
- qos_id_size = atoi(*(argv + 1));
} else if (matches(*argv, "seqno") == 0) {
seqno_size = atoi(*(argv + 1));
} else if (matches(*argv, "ttl") == 0) {
@@ -162,7 +156,6 @@ int do_bootstrap_ipcp(int argc, char ** argv)
conf.addr_size = addr_size;
conf.cep_id_size = cep_id_size;
conf.pdu_length_size = pdu_length_size;
- conf.qos_id_size = qos_id_size;
conf.seqno_size = seqno_size;
conf.ttl_size = ttl_size;
conf.chk_size = chk_size;