Changeset f0a2f98


Ignore:
Timestamp:
10/06/04 15:46:32 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
f9bb6c5
Parents:
5c25d3a
Message:

more fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r5c25d3a rf0a2f98  
    12601260                return USE_DEST;
    12611261        }
    1262         if (ROOT_CLIENT(source) && !ROOT_CLIENT(dest))
     1262        if (ROOT_CLIENT(source) && !ROOT_CLIENT(dest)) {
     1263                /* prefer root-client over nonroot-client */
     1264                if (NONROOT_CLIENT(dest))
     1265                        return USE_SOURCE;
    12631266                return USE_DEST;
    1264         if (!ROOT_CLIENT(source) && ROOT_CLIENT(dest))
     1267        }
     1268        if (!ROOT_CLIENT(source) && ROOT_CLIENT(dest)) {
     1269                /* prefer root-client over nonroot-client */
     1270                if (NONROOT_CLIENT(source))
     1271                        return USE_DEST;
    12651272                return USE_SOURCE;
     1273        }
    12661274       
    12671275        /* nonroot client */
Note: See TracChangeset for help on using the changeset viewer.