Skip to content

Commit

Permalink
netwrap: update the order of preloaded libraries
Browse files Browse the repository at this point in the history
This determines the execution order of the constructors
(reverse order).

Signed-off-by: Bogdan Pricope <[email protected]>
Reviewed-by: Matias Elo <[email protected]>
  • Loading branch information
bogdanPricope authored and MatiasElo committed May 7, 2020
1 parent 36e1400 commit 22c5dcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/ofp_netwrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export OFP_NETWRAP_ENV_DEFAULT="-i eth1 -f ${ROOT_DIR}/ofp_netwrap.cli"
export OFP_NETWRAP_ENV="${OFP_NETWRAP_ENV:-${OFP_NETWRAP_ENV_DEFAULT}}"

LD_PRELOAD=libofp_netwrap_crt.so.0.0.0:libofp.so.0.0.0:libofp_netwrap_proc.so.0.0.0 $@

LD_PRELOAD=libofp_netwrap_crt.so.0.0.0:libofp_netwrap_proc.so.0.0.0:libofp.so.0.0.0 $@

0 comments on commit 22c5dcb

Please sign in to comment.