summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ipcp_opt_wins.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-11-22 08:56:40 +0300
committerDmitry Kozlov <xeb@mail.ru>2014-11-22 08:56:40 +0300
commit81ca3923a29ea9b67f7291be23b210019546aa5f (patch)
treefcebf0d426665b4f06e01168f27cd8f9ab8c50d8 /accel-pppd/ppp/ipcp_opt_wins.c
parent830c399cf126f6bf1e8dfa1ad919a3ce8e346c5d (diff)
downloadaccel-ppp-81ca3923a29ea9b67f7291be23b210019546aa5f.tar.gz
accel-ppp-81ca3923a29ea9b67f7291be23b210019546aa5f.zip
remove trailing whitespaces
Diffstat (limited to 'accel-pppd/ppp/ipcp_opt_wins.c')
-rw-r--r--accel-pppd/ppp/ipcp_opt_wins.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/accel-pppd/ppp/ipcp_opt_wins.c b/accel-pppd/ppp/ipcp_opt_wins.c
index fd69a8c..c9a3bb5 100644
--- a/accel-pppd/ppp/ipcp_opt_wins.c
+++ b/accel-pppd/ppp/ipcp_opt_wins.c
@@ -109,7 +109,7 @@ static int wins_recv_conf_req(struct ppp_ipcp_t *ipcp, struct ipcp_option_t *opt
if (wins_opt->addr == opt32->val)
return IPCP_OPT_ACK;
-
+
return IPCP_OPT_NAK;
}
@@ -123,7 +123,7 @@ static void wins1_print(void (*print)(const char *fmt, ...), struct ipcp_option_
in.s_addr = opt32->val;
else
in.s_addr = wins_opt->addr;
-
+
print("<wins1 %s>", inet_ntoa(in));
}
@@ -137,7 +137,7 @@ static void wins2_print(void (*print)(const char *fmt, ...), struct ipcp_option_
in.s_addr = opt32->val;
else
in.s_addr = wins_opt->addr;
-
+
print("<wins2 %s>", inet_ntoa(in));
}
@@ -145,7 +145,7 @@ static void ev_wins(struct ev_wins_t *ev)
{
struct wins_option_t *wins_opt;
struct ppp_t *ppp;
-
+
if (!ev->ses->ctrl->ppp)
return;
@@ -161,11 +161,11 @@ static void ev_wins(struct ev_wins_t *ev)
static void load_config(void)
{
char *opt;
-
+
opt = conf_get_opt("wins", "wins1");
if (opt)
conf_wins1 = inet_addr(opt);
-
+
opt = conf_get_opt("wins", "wins2");
if (opt)
conf_wins2 = inet_addr(opt);