shadow/shadow — pull request #47 by caffeineshock (2012-07-17 19:38:55+00:00)
Title: Make path where pcap files are saved customizable

Per default Shadow saves pcap files in `data/pcapdata/` relative to the current working directory if `logpcap` is set to true for a node. It can however become difficult to manage all the pcap files generated. If I change my working directory to a new folder for each experiment I have to create `data/pcapdata` in each one too, if I don't do that it becomes messy. The attached commit add the attribute `pcapdir` to nodes to customize the path. If `pcapdir` is not set the directory will default to `data/pcapdata`.