Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
359214cb
Commit
359214cb
authored
Sep 23, 2009
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor change to insecure mode; allow local node redirect all the time.
This might be how I do preconfig.
parent
a772af05
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
tmcd/tmcd.c
tmcd/tmcd.c
+2
-4
No files found.
tmcd/tmcd.c
View file @
359214cb
...
...
@@ -1074,11 +1074,9 @@ handle_request(int sock, struct sockaddr_in *client, char *rdata, int istcp)
}
/*
* Redirect is allowed from the local host only!
* I use this for testing. See below where I test redirect
* if the verification fails.
* Redirect is allowed from the local host only.
*/
if
(
!
insecure
&&
redirect
&&
if
(
redirect
&&
redirect_client
.
sin_addr
.
s_addr
!=
myipaddr
.
s_addr
)
{
char
buf1
[
32
],
buf2
[
32
];
...
...
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