summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_lcp.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-04-08 16:43:47 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-04-08 16:47:05 -0500
commitcad3223a944965be79b81b59207372f4835b7c24 (patch)
treecd4ac440f49754359977e6ed87443ebf74367624 /gatchat/ppp_lcp.c
parent4f31b6c3b2091b3088df164b3fc103f390edd14a (diff)
downloadofono-cad3223a944965be79b81b59207372f4835b7c24.tar.bz2
ppp: Rip out the now unused option string stuff
Using wireshark is much easier
Diffstat (limited to 'gatchat/ppp_lcp.c')
-rw-r--r--gatchat/ppp_lcp.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gatchat/ppp_lcp.c b/gatchat/ppp_lcp.c
index 8f707973..9b771ef2 100644
--- a/gatchat/ppp_lcp.c
+++ b/gatchat/ppp_lcp.c
@@ -214,27 +214,9 @@ static enum rcr_result lcp_rcr(struct pppcp_data *pppcp,
return RCR_ACCEPT;
}
-static const char *lcp_option_strings[256] = {
- [0] = "Vendor Specific",
- [1] = "Maximum-Receive-Unit",
- [2] = "Async-Control-Character-Map",
- [3] = "Authentication-Protocol",
- [4] = "Quality-Protocol",
- [5] = "Magic-Number",
- [6] = "Quality-Protocol (deprecated)",
- [7] = "Protocol-Field-Compression",
- [8] = "Address-and-Control-Field-Compression",
- [9] = "FCS-Alternatives",
- [10] = "Self-Describing-Pad",
- [11] = "Numbered-Mode",
- [12] = "Multi-Link-Procedure (deprecated)",
- [13] = "Callback",
-};
-
struct pppcp_proto lcp_proto = {
.proto = LCP_PROTOCOL,
.name = "lcp",
- .option_strings = lcp_option_strings,
.supported_codes = LCP_SUPPORTED_CODES,
.this_layer_up = lcp_up,
.this_layer_down = lcp_down,