View | Details | Raw Unified | Return to bug 1456
Collapse All | Expand All

(-)a/switch/switch.c (+4 lines)
 Lines 79-84    Link Here 
79
79
80
static void add_ports(struct datapath *dp, char *port_list);
80
static void add_ports(struct datapath *dp, char *port_list);
81
81
82
#ifdef NS3
83
/* main function disabled for ns-3 build */
84
#else
82
int
85
int
83
main(int argc, char *argv[])
86
main(int argc, char *argv[])
84
{
87
{
 Lines 136-141    Link Here 
136
139
137
    return 0;
140
    return 0;
138
}
141
}
142
#endif
139
143
140
static void
144
static void
141
add_ports(struct datapath *dp, char *port_list)
145
add_ports(struct datapath *dp, char *port_list)
(-)a/wscript (+1 lines)
 Lines 49-54    Link Here 
49
	'/usr/include/libxml2',
49
	'/usr/include/libxml2',
50
    ]
50
    ]
51
    of.env.append_value('CCFLAGS', '-fPIC')
51
    of.env.append_value('CCFLAGS', '-fPIC')
52
    of.env.append_value('CCFLAGS', '-DNS3')
52
    of.target = 'openflow'
53
    of.target = 'openflow'
53
54
54
    # finally, let's install all this crap
55
    # finally, let's install all this crap

Return to bug 1456