Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
478b1a5e
Commit
478b1a5e
authored
Feb 28, 2012
by
Alessandro Rubini
Committed by
Aurelio Colosimo
Mar 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
state-initializing: don't shutdown the first time (ENOTSOCK)
parent
e1cc21b2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
state-initializing.c
proto-standard/state-initializing.c
+5
-1
No files found.
proto-standard/state-initializing.c
View file @
478b1a5e
...
...
@@ -9,15 +9,19 @@
/*
* Initializes network and other stuff
*/
static
int
pp_did_init
;
int
pp_initializing
(
struct
pp_instance
*
ppi
,
unsigned
char
*
pkt
,
int
plen
)
{
unsigned
char
*
id
,
*
mac
;
if
(
pp_did_init
)
pp_net_shutdown
(
ppi
);
if
(
pp_net_init
(
ppi
)
<
0
)
goto
failure
;
pp_did_init
=
1
;
/* Initialize default data set */
DSDEF
(
ppi
)
->
twoStepFlag
=
PP_TWO_STEP_FLAG
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment