From: Natasha Gude Date: Wed, 30 Jul 2008 21:41:47 +0000 (-0700) Subject: IP_ARGS takes address of nw_addr X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cef6834a2070c4686d881a3d7e3aa4c8bc489cd8;p=openvswitch IP_ARGS takes address of nw_addr --- diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 2af4553f..4790589f 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -257,11 +257,11 @@ ofp_print_action(struct ds *string, const struct ofp_action *a) break; case OFPAT_SET_NW_SRC: - ds_put_format(string, "mod_nw_src:"IP_FMT, IP_ARGS(a->arg.nw_addr)); + ds_put_format(string, "mod_nw_src:"IP_FMT, IP_ARGS(&a->arg.nw_addr)); break; case OFPAT_SET_NW_DST: - ds_put_format(string, "mod_nw_dst:"IP_FMT, IP_ARGS(a->arg.nw_addr)); + ds_put_format(string, "mod_nw_dst:"IP_FMT, IP_ARGS(&a->arg.nw_addr)); break; case OFPAT_SET_TP_SRC: