diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-06-28 10:21:33 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-06-28 10:21:33 -0500 |
commit | cff81df60623c4586374384cf148a8fb61ac6c02 (patch) | |
tree | aa9b0900ca288503b19bcf024be0571a7e875df1 /gatchat/ppp_ipcp.c | |
parent | 8246463ef3b9b4469dff209dcdf7ed50a8edf66b (diff) | |
download | ofono-cff81df60623c4586374384cf148a8fb61ac6c02.tar.bz2 |
ppp: Minor style tweaks
Diffstat (limited to 'gatchat/ppp_ipcp.c')
-rw-r--r-- | gatchat/ppp_ipcp.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gatchat/ppp_ipcp.c b/gatchat/ppp_ipcp.c index a0acf1b0..2abab850 100644 --- a/gatchat/ppp_ipcp.c +++ b/gatchat/ppp_ipcp.c @@ -35,13 +35,13 @@ #include "gatppp.h" #include "ppp.h" -#define IPCP_SUPPORTED_CODES ((1 << PPPCP_CODE_TYPE_CONFIGURE_REQUEST) | \ - (1 << PPPCP_CODE_TYPE_CONFIGURE_ACK) | \ - (1 << PPPCP_CODE_TYPE_CONFIGURE_NAK) | \ - (1 << PPPCP_CODE_TYPE_CONFIGURE_REJECT) | \ - (1 << PPPCP_CODE_TYPE_TERMINATE_REQUEST) | \ - (1 << PPPCP_CODE_TYPE_TERMINATE_ACK) | \ - (1 << PPPCP_CODE_TYPE_CODE_REJECT)) +#define IPCP_SUPPORTED_CODES ((1 << PPPCP_CODE_TYPE_CONFIGURE_REQUEST) | \ + (1 << PPPCP_CODE_TYPE_CONFIGURE_ACK) | \ + (1 << PPPCP_CODE_TYPE_CONFIGURE_NAK) | \ + (1 << PPPCP_CODE_TYPE_CONFIGURE_REJECT) | \ + (1 << PPPCP_CODE_TYPE_TERMINATE_REQUEST) | \ + (1 << PPPCP_CODE_TYPE_TERMINATE_ACK) | \ + (1 << PPPCP_CODE_TYPE_CODE_REJECT)) enum ipcp_option_types { IP_ADDRESSES = 1, @@ -76,7 +76,7 @@ struct ipcp_data { gboolean is_server; }; -#define FILL_IP(options, req, type, var) \ +#define FILL_IP(options, req, type, var) \ if (req) { \ options[len] = type; \ options[len + 1] = 6; \ @@ -435,7 +435,7 @@ static enum rcr_result ipcp_client_rcr(struct ipcp_data *ipcp, return RCR_REJECT; } - /* Accept server IP address as peer's address */ + /* Accept server IP address as peer's address */ if (peer_addr) { ipcp->peer_addr = peer_addr; return RCR_ACCEPT; |