diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-01-05 11:26:41 +0000 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-01-05 11:26:41 +0000 |
commit | 0f32dcb7962d74cfc2289974d58c4c8b4794167d (patch) | |
tree | 72fdc5b82194f2548e27239f033aef77734df933 /lib/sockunion.c | |
parent | fc286f3e879afd0b5b6c2b889132622739138d66 (diff) | |
parent | be3a2637f2421d44cfdb87561f5f0d4fc9ee9faa (diff) | |
download | quagga-0f32dcb7962d74cfc2289974d58c4c8b4794167d.tar.bz2 quagga-0f32dcb7962d74cfc2289974d58c4c8b4794167d.tar.xz |
Merge branch 'bgp_engine' of /git/quagga.euro-ix into bgp_engine
Diffstat (limited to 'lib/sockunion.c')
-rw-r--r-- | lib/sockunion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockunion.c b/lib/sockunion.c index c33a5713..054b17e6 100644 --- a/lib/sockunion.c +++ b/lib/sockunion.c @@ -272,7 +272,7 @@ sockunion_accept (int sock, union sockunion *su) memset(su, 0, len) ; ret = accept(sock, (struct sockaddr *)su, &len) ; - if (client_sock >= 0) + if (ret >= 0) { sockunion_normalise_mapped(su); return ret ; /* OK -- got socket */ |