projects
/
tunudptotcp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correct return type check
[tunudptotcp]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index 332229836627b80df7cd26d6151ce1cac179ebb9..9f0173f3bb5e125ddfe040fa5537957ec46afd0f 100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-581,7
+581,7
@@
int main(int argc, char* argv[]) {
// Create tun and bind to sockets...
//
- if (tun_alloc(tun_name, TUN_IF_COUNT, fd)
<
0) {
+ if (tun_alloc(tun_name, TUN_IF_COUNT, fd)
!=
0) {
fprintf(stderr, "Failed to alloc tun if\n");
return -1;
}