Displaying 4 results from an estimated 4 matches for "netstr".
2005 Mar 31
1
segfault in current svn
...mp/tinc/src/subnet.c 2005-03-31 00:49:40.318462040 +0200
+++ /home/mbarenh/daten/tinc/src/subnet.c 2005-03-31 01:01:54.595834912 +0200
@@ -247,6 +247,10 @@
{
cp();
+ /* check if we have a subnet */
+ if (!subnet)
+ return false;
+
switch (subnet->type) {
case SUBNET_MAC:
snprintf(netstr, len, "%hx:%hx:%hx:%hx:%hx:%hx",
@@ -421,10 +425,12 @@
}
} else {
if(net2str(netstr + 7, sizeof netstr - 7, subnet))
- execute_script(name, envp);
- }
+ execute_script(name, envp); }
+
+ /* do this only if we have a subnet (subnet != NULL) */
+ if(subnet)
+ net2str(netstr, s...
2005 Jan 18
1
tinc svn rev 1432 segfaults
...inc[32605]: Got another fatal signal 11 (Segmentation fault): not
restarting.
I've got two nodes set up in switch mode which work fine with tinc-1.0.2
(not with 1.0.3 due to the broadcast packet issue)
gdb backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x0805667c in net2str (netstr=0xbffff8a0 "SUBNET=", len=71, subnet=0x0)
at subnet.c:250
250 switch (subnet->type) {
(gdb) bt
#0 0x0805667c in net2str (netstr=0xbffff8a0 "SUBNET=", len=71, subnet=0x0)
at subnet.c:250
#1 0x08056b35 in subnet_update (owner=0x80d3c48, subnet=0x0, up=true...
2012 Feb 14
3
[libvirt] Fail to import available VM image
...'default' has not been
> started.
> [Tue, 14 Feb 2012 23:51:52 virt-install 3831] DEBUG (cli:440)
> Traceback (most recent call last):
> File "/usr/local/lib/python2.6/dist-packages/virtinst/cli.py", line
> 884, in get_networks
> dev = parse_network(guest, netstr, mac=mac)
> File "/usr/local/lib/python2.6/dist-packages/virtinst/cli.py", line
> 1642, in parse_network
> bridge=opts.get("bridge"))
> File "/usr/local/lib/python2.6/dist-packages/virtinst/VirtualNetworkInterface.py",
> line 153, in __init__
>...
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a
spam filter; I'll link to patches instead of attaching them.)
Here are the tincctl patches I've been working on. They apply to
http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit
them once the crypto stuff's fixed. Since they're basically done, I'm
emailing them now for review and in case